docs: update electron build instructions and fix electron asset paths

- Add web build prerequisite step to electron build docs
- Update electron run command to use npx
- Fix electron asset loading with improved path handling
- Add request interception for proper asset resolution
- Remove service worker files from electron build
- Improve debug logging for electron builds
This commit is contained in:
Matthew Raymer
2025-02-13 06:43:54 +00:00
parent a288496dcf
commit de017d1a71
3 changed files with 64 additions and 4 deletions

View File

@@ -44,6 +44,11 @@ To build for web deployment:
To build the desktop application:
0. You must web build first:
```bash
npm run build
```
1. Run the Electron build:
```bash
npm run build:electron
@@ -53,7 +58,7 @@ To build the desktop application:
3. To run the desktop app:
```bash
electron dist-electron
npx electron dist-electron
```
## Mobile Builds (Capacitor)