Skip to content

Commit

Permalink
fix: skip rcedit for .msi installer
Browse files Browse the repository at this point in the history
Close #677
  • Loading branch information
develar committed Aug 17, 2016
1 parent 903148b commit d40e0b5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .idea/dictionaries/develar.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion src/targets/squirrelPack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@ export async function buildInstaller(options: SquirrelOptions, outputDirectory:
if (options.msi && process.platform === "win32") {
const outFile = setupExe.replace(".exe", ".msi")
await msi(options, nupkgPath, setupPath, outputDirectory, outFile)
await packager.signAndEditResources(path.join(outputDirectory, outFile))
// rcedit can only edit .exe resources
await packager.sign(path.join(outputDirectory, outFile))
}
}

Expand Down

0 comments on commit d40e0b5

Please sign in to comment.