b7e096ae37
- Add suppressNativeWindowMenu() to hide native menu bar on all windows (Win/Linux only) - Set autoHideMenuBar: true on BrowserWindow creation as belt-and-suspenders - Import Menu from electron/main to support menu suppression - Login form: rename field from email to identifier, support phone number input - Migrate saved credential key from geo_rankly_saved_email to geo_rankly_saved_identifier with fallback - Update login error message: "邮箱或密码错误" → "账号或密码错误" - Remove unset ELECTRON_RUN_AS_NODE from dev script (not needed on Windows) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
55 lines
1.7 KiB
JSON
55 lines
1.7 KiB
JSON
{
|
|
"name": "@geo/desktop-client",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"description": "省心推客户端 — 连接和管理您的媒体账号,轻松发布和监控内容表现。",
|
|
"author": {
|
|
"name": "Liang Xu",
|
|
"email": "liangxu@qq.com",
|
|
"url": "https://shengxintui.com"
|
|
},
|
|
"type": "module",
|
|
"main": "out/main/bootstrap.cjs",
|
|
"scripts": {
|
|
"dev": "electron-vite dev --inspect=9229",
|
|
"build": "electron-vite build",
|
|
"package:mac": "pnpm run build && electron-builder --mac --arm64,universal",
|
|
"package:win": "pnpm run build && electron-builder --win --x64",
|
|
"package:linux": "pnpm run build && electron-builder --linux --x64,arm64",
|
|
"sign:setup": "bash scripts/sign-setup.sh",
|
|
"sign:mac": "bash scripts/sign-mac.sh",
|
|
"test": "vitest run",
|
|
"typecheck": "vue-tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"better-sqlite3": "^12.8.0",
|
|
"electron-updater": "^6.0.0",
|
|
"marked": "^17.0.5",
|
|
"pino": "^9.0.0",
|
|
"playwright-core": "^1.55.0",
|
|
"ws": "^8.20.0"
|
|
},
|
|
"devDependencies": {
|
|
"@ant-design/icons-vue": "^7.0.1",
|
|
"@geo/http-client": "workspace:*",
|
|
"@geo/publisher-platforms": "workspace:*",
|
|
"@geo/shared-types": "workspace:*",
|
|
"@geo/ui-shared": "workspace:*",
|
|
"@playwright/test": "^1.0.0",
|
|
"@types/node": "^24.0.0",
|
|
"@types/ws": "^8.18.1",
|
|
"@vitejs/plugin-vue": "^6.0.6",
|
|
"ant-design-vue": "^4.2.6",
|
|
"electron": "41.2.0",
|
|
"electron-builder": "^25.0.0",
|
|
"electron-vite": "^5.0.0",
|
|
"typescript": "^5.9.3",
|
|
"unplugin-vue-components": "^32.0.0",
|
|
"vite": "^7.3.2",
|
|
"vitest": "^4.1.5",
|
|
"vue": "^3.5.31",
|
|
"vue-router": "^4.5.1",
|
|
"vue-tsc": "^3.2.6"
|
|
}
|
|
}
|