Update electron to 16.0.6

This commit is contained in:
Fedor Indutny 2022-01-03 17:43:42 -08:00 committed by GitHub
parent dca2364ba4
commit 46ddcc50f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 7 additions and 51 deletions

View file

@ -16,16 +16,3 @@ export const isWindows = (minVersion?: string): boolean => {
return is.undefined(minVersion) ? true : semver.gte(osRelease, minVersion);
};
export const isLegacy = (): boolean => {
if (process.platform === 'darwin') {
// 17.0.0 - is macOS 10.13
return semver.lt(os.release(), '17.0.0');
}
if (process.platform === 'win32') {
return semver.lt(os.release(), '9.0.0');
}
return false;
};