Skip to content

Commit c9f0da5

Browse files
authored
chore: Expanding NSISUpdater installDir definition (#6995)
1 parent 5301525 commit c9f0da5

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.changeset/stale-dodos-refuse.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"electron-updater": patch
3+
---
4+
5+
Fix installDir definition #6907

packages/electron-updater/src/NsisUpdater.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ import { gunzipSync } from "zlib"
1717

1818
export class NsisUpdater extends BaseUpdater {
1919
/**
20-
* Install dir
20+
* Specify custom install directory path
2121
*
2222
*/
23-
installDirectory: string | null = null
23+
installDirectory?: string
2424

2525
constructor(options?: AllPublishOptions | null, app?: AppAdapter) {
2626
super(options, app)

0 commit comments

Comments
 (0)