Skip to content

Commit

Permalink
fix(squirrel.windows): sign the Squirrel.Windows executableStub
Browse files Browse the repository at this point in the history
Close #1251
  • Loading branch information
Tim van den Eijnden authored and develar committed Feb 13, 2017
1 parent 3fbf113 commit c732db2
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ async function encodedZip(archive: any, dir: string, prefix: string, vendorPath:
const tempFile = await packager.getTempFile("stub.exe")
await copyFile(path.join(vendorPath, "StubExecutable.exe"), tempFile, null, false)
await execWine(path.join(vendorPath, "WriteZipToSetup.exe"), ["--copy-stub-resources", file, tempFile])
await packager.sign(tempFile)

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

0 comments on commit c732db2

Please sign in to comment.