Skip to content

Commit 8468213

Browse files
committed
fixup! feat: add installDir variable for NsisUpdater
1 parent 16e0f3e commit 8468213

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

packages/electron-updater/src/AppUpdater.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,6 @@ export abstract class AppUpdater extends (EventEmitter as new () => TypedEmitter
8686

8787
disableWebInstaller = false
8888

89-
/**
90-
* Install dir for Nsis Updater
91-
*
92-
*/
93-
installDirectory: string | null = null
94-
9589
/**
9690
* The current application version.
9791
*/

packages/electron-updater/src/NsisUpdater.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,13 @@ import { URL } from "url"
1616
import { gunzipSync } from "zlib"
1717

1818
export class NsisUpdater extends BaseUpdater {
19+
/**
20+
* Install dir
21+
*
22+
*/
23+
installDirectory: string | null = null
24+
25+
1926
constructor(options?: AllPublishOptions | null, app?: AppAdapter) {
2027
super(options, app)
2128
}

0 commit comments

Comments
 (0)