mirror of
https://github.com/hanzo-templates/desktop-electron.git
synced 2026-10-30 20:49:06 +00:00
Forge's makers build for the host arch, and macos-latest is Apple Silicon, so v0.1.2 shipped a darwin-arm64 zip and nothing an Intel Mac can run — a download link that 'works' and then does not. macOS is two matrix legs now, the same coverage the Tauri templates already had via --target. Co-authored-by: Hanzo Dev <[email protected]>
38 lines
1.1 KiB
JSON
38 lines
1.1 KiB
JSON
{
|
|
"name": "desktop-electron",
|
|
"private": true,
|
|
"version": "0.1.3",
|
|
"description": "Electron 43 + Forge + Vite + React baseline \u2014 contextIsolated IPC, native dialogs, app metrics, frameless chrome.",
|
|
"author": "Hanzo AI",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"preview": "vite preview",
|
|
"desktop": "electron-forge start",
|
|
"desktop:build": "electron-forge package",
|
|
"make": "electron-forge make"
|
|
},
|
|
"dependencies": {
|
|
"@hanzo/base": "^0.2.1",
|
|
"react": "^19.2.0",
|
|
"react-dom": "^19.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/react": "^19.2.0",
|
|
"@types/react-dom": "^19.2.0",
|
|
"@vitejs/plugin-react": "^5.1.0",
|
|
"typescript": "^5.9.3",
|
|
"vite": "^7.1.9",
|
|
"@electron-forge/cli": "^7.11.2",
|
|
"@electron-forge/maker-deb": "^7.11.2",
|
|
"@electron-forge/maker-rpm": "^7.11.2",
|
|
"@electron-forge/maker-squirrel": "^7.11.2",
|
|
"@electron-forge/maker-zip": "^7.11.2",
|
|
"@electron-forge/plugin-vite": "^7.11.2",
|
|
"@types/node": "^22.10.0",
|
|
"electron": "^43.2.0"
|
|
},
|
|
"main": ".vite/build/main.js"
|
|
}
|