[Updater > v2] Minor source cleanup (rewriting)
This commit is contained in:
parent
fe52de3e51
commit
d32d5f2337
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@ class Updater extends EventEmitter {
|
|||
|
||||
const hostExePath = join(hostPath, basename(process.execPath));
|
||||
|
||||
if (resolve(hostExePath) != resolve(process.execPath) && !(options === null || options === void 0 ? void 0 : options.allowObsoleteHost)) {
|
||||
if (resolve(hostExePath) != resolve(process.execPath) && !options?.allowObsoleteHost) {
|
||||
app.once('will-quit', () => {
|
||||
spawn(hostExePath, [], {
|
||||
detached: true,
|
||||
|
|
Loading…
Reference in a new issue