Skip to content

Commit

Permalink
🐛 failed to start in macos.
Browse files Browse the repository at this point in the history
  • Loading branch information
novrain committed Dec 12, 2023
1 parent deb6ddd commit eef37c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/window.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ abstract class GlasstronWindow extends BrowserWindow {
abstract setBlur(_: boolean): void
}

const macOSVibrancyType = process.platform === 'darwin' ? compareVersions(macOSRelease(undefined).version, '10.14', '>=') ? 'under-window' : 'window' : null
const macOSVibrancyType = process.platform === 'darwin' ? compareVersions(macOSRelease(undefined).version || '0.0', '10.14', '>=') ? 'under-window' : 'window' : null

const activityIcon = nativeImage.createFromPath(`${app.getAppPath()}/assets/activity.png`)

Expand Down

0 comments on commit eef37c3

Please sign in to comment.