change to --no-updates flag

This commit is contained in:
Alexander Drozdov
2023-04-21 16:29:49 +03:00
parent 126053ee2e
commit 5f9da27b52
10 changed files with 27 additions and 27 deletions

View File

@@ -5,7 +5,6 @@ export interface HostConfig {
gameConfig: string | null
stashScroll: boolean
overlayKey: string
disableUpdateDownload: boolean
logLevel: string
windowTitle: string
language: string
@@ -42,7 +41,11 @@ export type UpdateInfo =
{
state: 'initial' | 'checking-for-update'
} | {
state: 'update-available' | 'update-downloaded'
state: 'update-available'
version: string
noDownloadReason: 'not-supported' | 'disabled-by-flag' | null
} | {
state: 'update-downloaded'
version: string
} | {
state: 'update-not-available' | 'error'
@@ -52,7 +55,6 @@ export type UpdateInfo =
export interface HostState {
contents: string | null
version: string
portable: boolean
updater: UpdateInfo
}