Skip to content

Commit

Permalink
Fix Dependabot issue (#59)
Browse files Browse the repository at this point in the history
* update vite version

Signed-off-by: cbh778899 <cbh778899@outlook.com>

* hide menu after packaged

Signed-off-by: cbh778899 <cbh778899@outlook.com>

---------

Signed-off-by: cbh778899 <cbh778899@outlook.com>
  • Loading branch information
cbh778899 authored Oct 16, 2024
1 parent c533aa9 commit d7aa9e9
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion electron.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function createWindow() {
if(app.isPackaged) {
// eslint-disable-next-line
win.loadFile(path.join(__dirname, 'dist/index.html'))
// Menu.setApplicationMenu(null);
Menu.setApplicationMenu(null);
} else {
win.loadURL("http://localhost:3000");
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@
"eslint-plugin-react-hooks": "^5.1.0-rc.0",
"eslint-plugin-react-refresh": "^0.4.9",
"globals": "^15.9.0",
"vite": "^5.4.1"
"vite": "^5.4.9"
}
}
16 changes: 8 additions & 8 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d7aa9e9

Please sign in to comment.