Skip to content

Commit 0c592e8

Browse files
committed
fix(squirrel.windows): remove RELEASES because Squirrel.Windows doesn't check
Closes #713
1 parent e102e3e commit 0c592e8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
"archiver": "^1.1.0",
6565
"archiver-utils": "^1.3.0",
6666
"asar-electron-builder": "^0.13.5",
67-
"bluebird": "^3.4.5",
67+
"bluebird": "^3.4.6",
6868
"chalk": "^1.1.3",
6969
"chromium-pickle-js": "^0.2.0",
7070
"cli-cursor": "^1.0.2",

src/targets/squirrelPack.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export async function buildInstaller(options: SquirrelOptions, outputDirectory:
5454
await BluebirdPromise.all([
5555
copy(path.join(options.vendorPath, "Update.exe"), appUpdate)
5656
.then(() => packager.sign(appUpdate)),
57-
remove(outputDirectory.replace(/\\/g, "/") + "/*-full.nupkg")
57+
BluebirdPromise.all([remove(`${outputDirectory.replace(/\\/g, "/")}/*-full.nupkg`), remove(path.join(outputDirectory, "RELEASES"))])
5858
.then(() => ensureDir(outputDirectory))
5959
])
6060

0 commit comments

Comments
 (0)