1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-11-10 02:06:29 +03:00

fixed linux crashes

This commit is contained in:
Eugene Pankov 2021-01-09 17:29:34 +01:00
parent 4742530cf3
commit b5701cf9f9
No known key found for this signature in database
GPG Key ID: 5896FCBBDD1CF4F4

View File

@ -26,7 +26,7 @@ abstract class GlasstronWindow extends BrowserWindow {
abstract setBlur (_: boolean)
}
const macOSVibrancyType = compareVersions.compare(macOSRelease().version, '10.14', '>=') ? 'fullscreen-ui' : 'dark'
const macOSVibrancyType = process.platform === 'darwin' ? compareVersions.compare(macOSRelease().version, '10.14', '>=') ? 'fullscreen-ui' : 'dark' : null
export class Window {
ready: Promise<void>