Skip to content

Commit

Permalink
fix sign issue
Browse files Browse the repository at this point in the history
  • Loading branch information
beyondkmp committed Nov 3, 2024
1 parent 7733641 commit 71b7629
Showing 1 changed file with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,13 @@ export default class SquirrelWindowsTarget extends Target {
...(this.options as any),
}

// options.windowsSign = {
// hookFunction: async (file: string) => {
// await packager.sign(file)
// },
// }
if (await (await packager.signingManager.value).cscInfo.value) {
options.windowsSign = {
hookFunction: async (file: string) => {
await packager.sign(file)
},
}
}

if (isEmptyOrSpaces(options.description)) {
options.description = this.options.name || appInfo.productName
Expand Down

0 comments on commit 71b7629

Please sign in to comment.