Skip to content

Commit aea6505

Browse files
committed
fix: Fallback to CSC_KEY_PASSWORD if certificatePassword not given
Closes #475
1 parent eb10afb commit aea6505

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/winPackager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export class WinPackager extends PlatformPackager<WinBuildOptions> {
2626

2727
const certificateFile = this.customBuildOptions.certificateFile
2828
if (certificateFile != null) {
29-
const certificatePassword = this.customBuildOptions.certificatePassword
29+
const certificatePassword = this.customBuildOptions.certificatePassword || this.getCscPassword()
3030
this.cscInfo = BluebirdPromise.resolve({
3131
file: certificateFile,
3232
password: certificatePassword == null ? null : certificatePassword.trim(),

0 commit comments

Comments
 (0)