This repository was archived by the owner on Nov 15, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +5
-34
lines changed Expand file tree Collapse file tree 3 files changed +5
-34
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 5
5
"homepage" : " https://github.com/Kuari/RedFish" ,
6
6
"scripts" : {
7
7
"electron:build" : " vue-cli-service electron:build" ,
8
- "electron:build:m1 " : " vue-cli-service electron:build --arm64" ,
8
+ "electron:build:mac " : " vue-cli-service electron:build --macos -- arm64 --x64 " ,
9
9
"electron:build:publish" : " vue-cli-service electron:build -p always" ,
10
10
"electron:serve" : " vue-cli-service electron:serve"
11
11
},
Original file line number Diff line number Diff line change @@ -15,10 +15,10 @@ async function createWindow () {
15
15
// Create the browser window.
16
16
const win = new BrowserWindow ( {
17
17
autoHideMenuBar : true ,
18
- // width: screen.getPrimaryDisplay().workAreaSize.width,
19
- // height: screen.getPrimaryDisplay().workAreaSize.height,
20
- width : 1600 ,
21
- height : 1000 ,
18
+ width : screen . getPrimaryDisplay ( ) . workAreaSize . width ,
19
+ height : screen . getPrimaryDisplay ( ) . workAreaSize . height ,
20
+ // width: 1600,
21
+ // height: 1000,
22
22
webPreferences : {
23
23
contextIsolation : false ,
24
24
nodeIntegration : true ,
You can’t perform that action at this time.
0 commit comments