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

Commit

Permalink
Optimize some functions
Browse files Browse the repository at this point in the history
  • Loading branch information
hunter-ji committed May 18, 2022
1 parent 2f97893 commit cce252b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 34 deletions.
29 changes: 0 additions & 29 deletions .github/workflows/build_win.yml

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"homepage": "https://github.com/Kuari/RedFish",
"scripts": {
"electron:build": "vue-cli-service electron:build",
"electron:build:m1": "vue-cli-service electron:build --arm64",
"electron:build:mac": "vue-cli-service electron:build --macos --arm64 --x64",
"electron:build:publish": "vue-cli-service electron:build -p always",
"electron:serve": "vue-cli-service electron:serve"
},
Expand Down
8 changes: 4 additions & 4 deletions src/background.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ async function createWindow () {
// Create the browser window.
const win = new BrowserWindow({
autoHideMenuBar: true,
// width: screen.getPrimaryDisplay().workAreaSize.width,
// height: screen.getPrimaryDisplay().workAreaSize.height,
width: 1600,
height: 1000,
width: screen.getPrimaryDisplay().workAreaSize.width,
height: screen.getPrimaryDisplay().workAreaSize.height,
// width: 1600,
// height: 1000,
webPreferences: {
contextIsolation: false,
nodeIntegration: true,
Expand Down

0 comments on commit cce252b

Please sign in to comment.