Skip to content

Distribution packaging fails due to CodePathWin CodePathMac #158

@AlexHedley

Description

@AlexHedley

Describe the bug
Following the guide for Exporting your plugin for distribution you get an error when packaging.

2 issues

  • ID must be lowercase (only matters in the cmd)
  • Missing CodePath in manifest

To Reproduce

Download the DistributionTool from the above page.

Run the command

                    DistributionTool                  Error: The plugin has an invalid unique identifier: [UUID]. The unique identifier must be a uniform type identifier (UTI) that contains only lowercase alphanumeric characters (a-z, 0-9), hyphen (-), and period (.). The string must be in reverse-DNS format.
C:\Users\[USER]\AppData\Roaming\Elgato\StreamDeck\Plugins>DistributionTool.exe -b -i [UUID] -o Release
                    DistributionTool                  using printf
                    DistributionTool                  Validating and exporting the plugin [UUID]
                    DistributionTool                  Error: The CodePath property is missing in the manifest.json file. Please add a valid "CodePath" property to the manifest.json.
                    DistributionTool                  Error: The plugin is invalid

Expected behavior
The tool can output a .streamDeckPlugin for distribution from the Template.

Error Details
Error: The CodePath property is missing in the manifest.json file. Please add a valid "CodePath" property to the manifest.json.

Screenshots
N/A

Desktop (please complete the following information):

  • OS: [e.g. Windows 10]
  • Version [e.g. 22]

Additional context
Fix for #144.


Adding an extra CodePath doesn't work if CodePathWin and CodePathMac still exist.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions