Skip to content
This repository was archived by the owner on Nov 15, 2024. It is now read-only.

Commit cce252b

Browse files
committed
Optimize some functions
1 parent 2f97893 commit cce252b

File tree

3 files changed

+5
-34
lines changed

3 files changed

+5
-34
lines changed

.github/workflows/build_win.yml

Lines changed: 0 additions & 29 deletions
This file was deleted.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"homepage": "https://github.com/Kuari/RedFish",
66
"scripts": {
77
"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",
99
"electron:build:publish": "vue-cli-service electron:build -p always",
1010
"electron:serve": "vue-cli-service electron:serve"
1111
},

src/background.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ async function createWindow () {
1515
// Create the browser window.
1616
const win = new BrowserWindow({
1717
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,
2222
webPreferences: {
2323
contextIsolation: false,
2424
nodeIntegration: true,

0 commit comments

Comments
 (0)