fix(updater): separate Windows 7 offline update path
This commit is contained in:
29 files changed
+1851
-24
No files matched your search
@@ -0,0 +1,9 @@
|
||||
export interface WindowsWebView2RuntimeFallbackInput {
|
||||
installerExitCode: number;
|
||||
runtimeDetected: boolean;
|
||||
runtimeMeetsMinimum: boolean;
|
||||
}
|
||||
|
||||
export function shouldAbortWindowsWebView2RuntimeFallback(input: WindowsWebView2RuntimeFallbackInput): boolean {
|
||||
return input.installerExitCode !== 0 && (!input.runtimeDetected || !input.runtimeMeetsMinimum);
|
||||
}
|
||||
Reference in new issue
Block a user