Preflight Checklist
Issue Details
- Electron Packager Version:
- Electron Version:
- Operating System:
- Last Known Working Electron Packager version::
Expected Behavior
I should be able to use binaries in osxSign to sign additional binaries.
Actual Behavior
The TypeScript definition explicitly removes the binaries key using Omit which results in this error:
forge.config.ts:15:7 - error TS2322: Type '{ binaries: string[]; optionsForFile: () => { entitlements: string; }; }' is not assignable to type 'true | OsxSignOptions'.
Object literal may only specify known properties, and 'binaries' does not exist in type 'OsxSignOptions'.
To Reproduce
const config: ForgeConfig = {
...
packagerConfig: {
osxSign: {
binaries: ["./path/to/extra/binary"],
},
},
};
Additional Information
binaries has been omitted since the OsxSignOptions type was introduced in a2a3ae5
Preflight Checklist
Issue Details
Expected Behavior
I should be able to use
binariesinosxSignto sign additional binaries.Actual Behavior
The TypeScript definition explicitly removes the
binarieskey usingOmitwhich results in this error:To Reproduce
Additional Information
binarieshas been omitted since theOsxSignOptionstype was introduced in a2a3ae5