feat: 主进程配置还原
This commit is contained in:
29
package-lock.json
generated
29
package-lock.json
generated
@@ -9,7 +9,6 @@
|
|||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@vueuse/electron": "^14.0.0-alpha.0",
|
|
||||||
"axios": "^1.12.2",
|
"axios": "^1.12.2",
|
||||||
"electron-squirrel-startup": "^1.0.1",
|
"electron-squirrel-startup": "^1.0.1",
|
||||||
"pinia": "^2.3.1",
|
"pinia": "^2.3.1",
|
||||||
@@ -3189,34 +3188,6 @@
|
|||||||
"integrity": "sha512-F4yc6palwq3TT0u+FYf0Ns4Tfl9GRFURDN2gWG7L1ecIaS/4fCIuFOjMTnCyjsu/OK6vaDKLCrGAa+KvvH+h4w==",
|
"integrity": "sha512-F4yc6palwq3TT0u+FYf0Ns4Tfl9GRFURDN2gWG7L1ecIaS/4fCIuFOjMTnCyjsu/OK6vaDKLCrGAa+KvvH+h4w==",
|
||||||
"license": "MIT"
|
"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": {
|
"node_modules/@webassemblyjs/ast": {
|
||||||
"version": "1.14.1",
|
"version": "1.14.1",
|
||||||
"resolved": "https://registry.npmmirror.com/@webassemblyjs/ast/-/ast-1.14.1.tgz",
|
"resolved": "https://registry.npmmirror.com/@webassemblyjs/ast/-/ast-1.14.1.tgz",
|
||||||
|
|||||||
@@ -13,10 +13,10 @@ const createWindow = () => {
|
|||||||
const mainWindow = new BrowserWindow({
|
const mainWindow = new BrowserWindow({
|
||||||
width: 900,
|
width: 900,
|
||||||
height: 670,
|
height: 670,
|
||||||
// autoHideMenuBar: true,
|
autoHideMenuBar: true,
|
||||||
// resizable: false, // 禁止拖拽放大缩小
|
resizable: false, // 禁止拖拽放大缩小
|
||||||
// maximizable: false, // 禁止最大化
|
maximizable: false, // 禁止最大化
|
||||||
// minimizable: true, // 允许最小化
|
minimizable: true, // 允许最小化
|
||||||
webPreferences: {
|
webPreferences: {
|
||||||
// devTools: inDevelopment,
|
// devTools: inDevelopment,
|
||||||
// nodeIntegration: true,
|
// nodeIntegration: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user