Skip to content

Commit

Permalink
fixup! feat: add installDir variable for NsisUpdater
Browse files Browse the repository at this point in the history
  • Loading branch information
panther7 committed Jun 23, 2022
1 parent 16e0f3e commit 8468213
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
6 changes: 0 additions & 6 deletions packages/electron-updater/src/AppUpdater.ts
Expand Up @@ -86,12 +86,6 @@ export abstract class AppUpdater extends (EventEmitter as new () => TypedEmitter

disableWebInstaller = false

/**
* Install dir for Nsis Updater
*
*/
installDirectory: string | null = null

/**
* The current application version.
*/
Expand Down
7 changes: 7 additions & 0 deletions packages/electron-updater/src/NsisUpdater.ts
Expand Up @@ -16,6 +16,13 @@ import { URL } from "url"
import { gunzipSync } from "zlib"

export class NsisUpdater extends BaseUpdater {
/**
* Install dir
*
*/
installDirectory: string | null = null


constructor(options?: AllPublishOptions | null, app?: AppAdapter) {
super(options, app)
}
Expand Down

0 comments on commit 8468213

Please sign in to comment.