File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -39,16 +39,12 @@ const createWindow = () => {
3939 show : false ,
4040 autoHideMenuBar : true ,
4141 titleBarStyle : 'hiddenInset' ,
42- // @ts -ignore
43- width : store . get ( 'window.width' , dimensions . width < 1440 ? dimensions . width : 1440 ) ,
44- // @ts -ignore
45- height : store . get ( 'window.height' , dimensions . height < 900 ? dimensions . height : 900 ) ,
42+ width : store . get ( 'window.width' , dimensions . size . width < 1440 ? dimensions . size . width : 1440 ) ,
43+ height : store . get ( 'window.height' , dimensions . size . height < 900 ? dimensions . size . height : 900 ) ,
4644 webPreferences : {
4745 preload : join ( __dirname , 'preload.js' ) ,
4846 webSecurity : false ,
4947 allowRunningInsecureContent : false ,
50- // @ts -ignore
51- enableRemoteModule : process . env . NODE_ENV === 'test' , // https://github.com/electron-userland/spectron/pull/738#issuecomment-754810364
5248 nodeIntegration : process . env . NODE_ENV === 'test'
5349 }
5450 } )
You can’t perform that action at this time.
0 commit comments