mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-25 04:36:46 +00:00
Update electron to 16.0.6
This commit is contained in:
13
ts/OS.ts
13
ts/OS.ts
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user