Skip to content

Commit

Permalink
forbid fullscreen display
Browse files Browse the repository at this point in the history
  • Loading branch information
miaowing committed Aug 12, 2020
1 parent a4e43f4 commit e88662b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/windows/main.window.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ export class MainWindow {
maxWidth: 1000,
center: true,
show: false,
resizable: false,
fullscreen: false,
transparent: process.platform === 'darwin',
vibrancy: 'light',
backgroundColor: process.platform === 'darwin' ? '#00FFFFFF' : '#FFFFFF',
Expand Down

0 comments on commit e88662b

Please sign in to comment.