Polish Electron desktop shell

This commit is contained in:
th committed 2026-06-05 17:34:50 +02:00
1 parent 70cf131c47
commit 32cc3ecec3
8 files changed
+249 -8

No files matched your search

+17
View File
@@ -51,6 +51,23 @@ npm run build # production bundle to dist/
npm run pack # zip dist/ into dist-archive/
```
## Electron desktop build
RUWIO can also run as an Electron desktop app. The desktop shell uses the
same Vite-built app from `dist/` plus the compiled Electron entry points in
`dist-electron/`.
```bash
npm install
npm run desktop:dev # start Vite, then launch Electron against localhost
npm run desktop:pack # build an unpacked desktop app into release/
npm run desktop:build # build platform installer/package artifacts into release/
```
`desktop:pack` is the quickest compile check because it produces an unpacked
app without creating an installer. `desktop:build` uses `electron-builder` and
targets AppImage on Linux, NSIS on Windows, and DMG on macOS.
## Stack
- Vue 3 (`<script setup>`) + Pinia state