modpack-lock
    Preparing search index...

    Function generateLicense

    • Generate a license file

      Parameters

      • modpackInfo: Jsonfile

        The modpack information

      • workingDir: string

        The path to write the license to

      • options: Options | InitOptions = {}

        The options object

      • OptionallicenseTextOverride: string

        Text to override the license's default content

      Returns Promise<string | null>

      The license text or null if the license text could not be generated