mirror of
https://github.com/voideditor/void
synced 2026-05-23 09:28:23 +00:00
commit
ffdbb214f9
2 changed files with 7 additions and 4 deletions
|
|
@ -1,8 +1,8 @@
|
|||
{
|
||||
"nameShort": "Void",
|
||||
"nameLong": "Void",
|
||||
"voidVersion": "1.4.5",
|
||||
"voidRelease": "0040",
|
||||
"voidVersion": "1.4.6",
|
||||
"voidRelease": "0041",
|
||||
"applicationName": "void",
|
||||
"dataFolderName": ".void-editor",
|
||||
"win32MutexName": "voideditor",
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
import { Disposable } from '../../../../base/common/lifecycle.js';
|
||||
import { IEnvironmentMainService } from '../../../../platform/environment/electron-main/environmentMainService.js';
|
||||
import { IProductService } from '../../../../platform/product/common/productService.js';
|
||||
import { IUpdateService, StateType } from '../../../../platform/update/common/update.js';
|
||||
import { IUpdateService, State, StateType } from '../../../../platform/update/common/update.js';
|
||||
import { IVoidUpdateService } from '../common/voidUpdateService.js';
|
||||
import { VoidCheckUpdateRespose } from '../common/voidUpdateServiceTypes.js';
|
||||
|
||||
|
|
@ -77,7 +77,10 @@ export class VoidMainUpdateService extends Disposable implements IVoidUpdateServ
|
|||
}
|
||||
|
||||
if (this._updateService.state.type === StateType.Disabled) {
|
||||
return await this._manualCheckGHTagIfDisabled(explicit)
|
||||
if (explicit)
|
||||
return await this._manualCheckGHTagIfDisabled(explicit)
|
||||
else
|
||||
return { message: null, } as const
|
||||
}
|
||||
return null
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue