fix: 修复新建项目无响应问题
- 替换 prompt() 为 InputDialog Vue 模态组件 - 替换 alert()/confirm() 为 Electron showMessageBox IPC - 添加 dialog:showMessage / dialog:showConfirm IPC 通道
This commit is contained in:
10
package.json
10
package.json
@@ -2,12 +2,19 @@
|
||||
"name": "web2app",
|
||||
"version": "1.0.0",
|
||||
"description": "将网站转化为独立运行的桌面应用",
|
||||
"homepage": "https://github.com/web2app/web2app",
|
||||
"author": {
|
||||
"name": "Web2App Team",
|
||||
"email": "team@web2app.dev"
|
||||
},
|
||||
"main": "electron/main.js",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build": "vite build",
|
||||
"electron:dev": "concurrently \"vite\" \"wait-on http://localhost:5173 && electron .\"",
|
||||
"electron:build": "vite build && electron-builder --config",
|
||||
"electron:build:linux": "vite build && electron-builder --config --linux",
|
||||
"electron:build:deb": "vite build && electron-builder --config --linux deb",
|
||||
"preview": "vite preview"
|
||||
},
|
||||
"build": {
|
||||
@@ -55,7 +62,8 @@
|
||||
}
|
||||
],
|
||||
"icon": null,
|
||||
"category": "Utility"
|
||||
"category": "Utility",
|
||||
"maintainer": "Web2App Team <team@web2app.dev>"
|
||||
}
|
||||
},
|
||||
"dependencies": {
|
||||
|
||||
Reference in New Issue
Block a user