Skip to content

Commit

Permalink
fix(squirrel.windows): remove RELEASES because Squirrel.Windows doesn…
Browse files Browse the repository at this point in the history
…'t check

Closes #713
  • Loading branch information
develar committed Sep 2, 2016
1 parent e102e3e commit 0c592e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"archiver": "^1.1.0",
"archiver-utils": "^1.3.0",
"asar-electron-builder": "^0.13.5",
"bluebird": "^3.4.5",
"bluebird": "^3.4.6",
"chalk": "^1.1.3",
"chromium-pickle-js": "^0.2.0",
"cli-cursor": "^1.0.2",
Expand Down
2 changes: 1 addition & 1 deletion src/targets/squirrelPack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export async function buildInstaller(options: SquirrelOptions, outputDirectory:
await BluebirdPromise.all([
copy(path.join(options.vendorPath, "Update.exe"), appUpdate)
.then(() => packager.sign(appUpdate)),
remove(outputDirectory.replace(/\\/g, "/") + "/*-full.nupkg")
BluebirdPromise.all([remove(`${outputDirectory.replace(/\\/g, "/")}/*-full.nupkg`), remove(path.join(outputDirectory, "RELEASES"))])
.then(() => ensureDir(outputDirectory))
])

Expand Down

0 comments on commit 0c592e8

Please sign in to comment.