Skip to content

Commit c732db2

Browse files
Tim van den Eijndendevelar
authored andcommitted
fix(squirrel.windows): sign the Squirrel.Windows executableStub
Close #1251
1 parent 3fbf113 commit c732db2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/electron-builder-squirrel-windows/src/squirrelPack.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,7 @@ async function encodedZip(archive: any, dir: string, prefix: string, vendorPath:
237237
const tempFile = await packager.getTempFile("stub.exe")
238238
await copyFile(path.join(vendorPath, "StubExecutable.exe"), tempFile, null, false)
239239
await execWine(path.join(vendorPath, "WriteZipToSetup.exe"), ["--copy-stub-resources", file, tempFile])
240+
await packager.sign(tempFile)
240241

241242
archive._append(tempFile, {
242243
name: relativeSafeFilePath.substring(0, relativeSafeFilePath.length - 4) + "_ExecutionStub.exe",

0 commit comments

Comments
 (0)