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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user