diff --git a/package-lock.json b/package-lock.json index 8b6fc75..c8b19d2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,6 @@ "version": "1.0.0", "license": "MIT", "dependencies": { - "@vueuse/electron": "^14.0.0-alpha.0", "axios": "^1.12.2", "electron-squirrel-startup": "^1.0.1", "pinia": "^2.3.1", @@ -3189,34 +3188,6 @@ "integrity": "sha512-F4yc6palwq3TT0u+FYf0Ns4Tfl9GRFURDN2gWG7L1ecIaS/4fCIuFOjMTnCyjsu/OK6vaDKLCrGAa+KvvH+h4w==", "license": "MIT" }, - "node_modules/@vueuse/electron": { - "version": "14.0.0-alpha.0", - "resolved": "https://registry.npmmirror.com/@vueuse/electron/-/electron-14.0.0-alpha.0.tgz", - "integrity": "sha512-cBiO2tDfUUj+j315Z5DnZe2vmEo6S0CRTqmlxLBjMZ7Ilyb+XeMr/KCruSFC730pW4k541ldD4C+Zv//hKCOCQ==", - "license": "MIT", - "dependencies": { - "@vueuse/shared": "14.0.0-alpha.0" - }, - "funding": { - "url": "https://github.com/sponsors/antfu" - }, - "peerDependencies": { - "electron": ">=9.0.0", - "vue": "^3.5.0" - } - }, - "node_modules/@vueuse/shared": { - "version": "14.0.0-alpha.0", - "resolved": "https://registry.npmmirror.com/@vueuse/shared/-/shared-14.0.0-alpha.0.tgz", - "integrity": "sha512-J8cmTJkB0hAwPBXRR5U3N9FJkhPBrhyYiQm21kZ3j/o8W69Pg6JlPSxLOJtkg+AwC/r5x7Gpq2Vglv84vHotwA==", - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/antfu" - }, - "peerDependencies": { - "vue": "^3.5.0" - } - }, "node_modules/@webassemblyjs/ast": { "version": "1.14.1", "resolved": "https://registry.npmmirror.com/@webassemblyjs/ast/-/ast-1.14.1.tgz", diff --git a/src/main.ts b/src/main.ts index 6656f4e..eb26101 100644 --- a/src/main.ts +++ b/src/main.ts @@ -13,10 +13,10 @@ const createWindow = () => { const mainWindow = new BrowserWindow({ width: 900, height: 670, - // autoHideMenuBar: true, - // resizable: false, // 禁止拖拽放大缩小 - // maximizable: false, // 禁止最大化 - // minimizable: true, // 允许最小化 + autoHideMenuBar: true, + resizable: false, // 禁止拖拽放大缩小 + maximizable: false, // 禁止最大化 + minimizable: true, // 允许最小化 webPreferences: { // devTools: inDevelopment, // nodeIntegration: true,