Skip to content

Commit d73bc7c

Browse files
committed
fix windows createPackage path
1 parent e78e260 commit d73bc7c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

scripts/createPackage.js

+7-1
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,12 @@ function toPath (platform, arch) {
1010
switch (arch) {
1111
case Arch.ia32:
1212
return 'dist/app/win-ia32-unpacked'
13-
default:
13+
case Arch.arm64:
14+
return 'dist/app/win-arm64-unpacked'
15+
case Arch.x64:
1416
return 'dist/app/win-unpacked'
17+
default:
18+
return null
1519
}
1620
} else if (platform == 'linux') {
1721
switch (arch) {
@@ -30,6 +34,8 @@ function toPath (platform, arch) {
3034
return 'dist/app/mac-arm64'
3135
case Arch.x64:
3236
return 'dist/app/mac'
37+
default:
38+
return null
3339
}
3440
}
3541
}

0 commit comments

Comments
 (0)