diff --git a/app/lib/window.ts b/app/lib/window.ts index e817c7c1..d5aa9ea0 100644 --- a/app/lib/window.ts +++ b/app/lib/window.ts @@ -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