File tree 2 files changed +11
-4
lines changed
2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -64,10 +64,10 @@ app.whenReady().then(async () => {
64
64
} ) ;
65
65
app . quit ( ) ;
66
66
}
67
- }
68
- const settings = await getSettings ( ) ;
69
- if ( settings . createDesktopShortcut ) {
70
- createShortcuts ( ) ;
67
+ const settings = await getSettings ( ) ;
68
+ if ( settings . createDesktopShortcut ) {
69
+ createShortcuts ( ) ;
70
+ }
71
71
}
72
72
} ) ;
73
73
Original file line number Diff line number Diff line change @@ -51,8 +51,15 @@ class WindowManager {
51
51
if ( this . wallpaperWindow && ! this . wallpaperWindow . isDestroyed ( ) ) {
52
52
return this . wallpaperWindow ;
53
53
}
54
+ const screenSize = screen . getPrimaryDisplay ( ) . size ;
54
55
this . wallpaperWindow = this . createWindow ( 'wallpaper' , {
55
56
fullscreen : process . platform === 'win32' ,
57
+ height : screenSize . height ,
58
+ width : screenSize . width ,
59
+ titleBarStyle : 'customButtonsOnHover' ,
60
+ hasShadow : true ,
61
+ roundedCorners : false ,
62
+ type : 'desktop'
56
63
} ) ;
57
64
this . wallpaperWindow . on ( 'closed' , ( ) => {
58
65
this . wallpaperWindow = undefined ;
You can’t perform that action at this time.
0 commit comments