diff --git a/electron.js b/electron.js index ccfa9f9..8e16877 100644 --- a/electron.js +++ b/electron.js @@ -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"); } diff --git a/package.json b/package.json index 62305a3..a7ccb20 100644 --- a/package.json +++ b/package.json @@ -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" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 10dee17..9ccf9fd 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -53,7 +53,7 @@ importers: version: 18.3.0 '@vitejs/plugin-react': specifier: ^4.3.1 - version: 4.3.1(vite@5.4.3(@types/node@22.4.2)(terser@5.31.6)) + version: 4.3.1(vite@5.4.9(@types/node@22.4.2)(terser@5.31.6)) electron: specifier: ^32.0.0 version: 32.0.0 @@ -76,8 +76,8 @@ importers: specifier: ^15.9.0 version: 15.9.0 vite: - specifier: ^5.4.1 - version: 5.4.3(@types/node@22.4.2)(terser@5.31.6) + specifier: ^5.4.9 + version: 5.4.9(@types/node@22.4.2)(terser@5.31.6) packages: @@ -3502,8 +3502,8 @@ packages: vfile@6.0.3: resolution: {integrity: sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q==} - vite@5.4.3: - resolution: {integrity: sha512-IH+nl64eq9lJjFqU+/yrRnrHPVTlgy42/+IzbOdaFDVlyLgI/wDlf+FCobXLX1cT0X5+7LMyH1mIy2xJdLfo8Q==} + vite@5.4.9: + resolution: {integrity: sha512-20OVpJHh0PAM0oSOELa5GaZNWeDjcAvQjGXy2Uyr+Tp+/D2/Hdz6NLgpJLsarPTA2QJ6v8mX2P1ZfbsSKvdMkg==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: @@ -5193,14 +5193,14 @@ snapshots: '@ungap/structured-clone@1.2.0': {} - '@vitejs/plugin-react@4.3.1(vite@5.4.3(@types/node@22.4.2)(terser@5.31.6))': + '@vitejs/plugin-react@4.3.1(vite@5.4.9(@types/node@22.4.2)(terser@5.31.6))': dependencies: '@babel/core': 7.25.2 '@babel/plugin-transform-react-jsx-self': 7.24.7(@babel/core@7.25.2) '@babel/plugin-transform-react-jsx-source': 7.24.7(@babel/core@7.25.2) '@types/babel__core': 7.20.5 react-refresh: 0.14.2 - vite: 5.4.3(@types/node@22.4.2)(terser@5.31.6) + vite: 5.4.9(@types/node@22.4.2)(terser@5.31.6) transitivePeerDependencies: - supports-color @@ -8109,7 +8109,7 @@ snapshots: '@types/unist': 3.0.3 vfile-message: 4.0.2 - vite@5.4.3(@types/node@22.4.2)(terser@5.31.6): + vite@5.4.9(@types/node@22.4.2)(terser@5.31.6): dependencies: esbuild: 0.21.5 postcss: 8.4.45