You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: electron-app/README.md
+17-17Lines changed: 17 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,11 +22,11 @@ When running in development mode (unpackaged), the application creates temporary
22
22
23
23
-`config.toml.backup-{timestamp}` - Automatic backup files created when importing a configuration. These timestamped backups help recover previous configurations if needed.
24
24
25
-
-`binaries/` - Directory containing compiled backend executables for your platform. These are generated during the build process, when running `npm run build`.
25
+
-`binaries/` - Directory containing compiled backend executables for your platform. These are generated during the build process, when running `pnpm run build`.
26
26
27
-
-`renderer/` - Directory containing built frontend views (control-station, ethernet-view). These are generated during the build process, when running `npm run build`.
27
+
-`renderer/` - Directory containing built frontend views (control-station, ethernet-view). These are generated during the build process, when running `pnpm run build`.
28
28
29
-
-`dist/` - Build output directory containing compiled and packaged application files. Generated during build and distribution processes, when running `npm run dist`.
29
+
-`dist/` - Build output directory containing compiled and packaged application files. Generated during build and distribution processes, when running `pnpm run dist`.
30
30
31
31
**Note**: These files and directories are created in the `electron-app/` directory root during development. In production (packaged) mode:
32
32
@@ -54,24 +54,24 @@ Typical locations:
54
54
55
55
```
56
56
# Install dependencies
57
-
npm install
57
+
pnpm install
58
58
59
59
# Build backend and frontends
60
-
npm run build
60
+
pnpm run build
61
61
62
-
# Run in development mode (you MUST run `npm run build` BEFORE!)
63
-
npm start
62
+
# Run in development mode (you MUST run `pnpm run build` BEFORE!)
63
+
pnpm start
64
64
```
65
65
66
66
## Build for production
67
67
68
68
This script creates distributables and executables.
69
-
**Note**: You must run `npm run build` for this script to work correctly.
69
+
**Note**: You must run `pnpm run build` for this script to work correctly.
70
70
71
71
```
72
-
npm run dist:win # Windows
73
-
npm run dist:mac # macOS
74
-
npm run dist:linux # Linux
72
+
pnpm run dist:win # Windows
73
+
pnpm run dist:mac # macOS
74
+
pnpm run dist:linux # Linux
75
75
```
76
76
77
77
### macOS Requirements
@@ -85,14 +85,14 @@ sudo ipconfig set en0 INFORM 127.0.0.9
85
85
## Available Scripts
86
86
87
87
```
88
-
- `npm run build` - Build all frontend views and backend
89
-
- `npm start` - Run application in development mode
90
-
- `npm run dist` - Build production executable
91
-
- `npm test` - Run tests
88
+
- `pnpm run build` - Build all frontend views and backend
89
+
- `pnpm start` - Run application in development mode
90
+
- `pnpm run dist` - Build production executable
91
+
- `pnpm test` - Run tests
92
92
...and many custom variations (see package.json)
93
93
94
-
# Only works and makes sense after running `npm run dist`
95
-
- `npm run asar:{platform}` - Shows .asar application package content for [win, linux, mac] platforms
94
+
# Only works and makes sense after running `pnpm run dist`
95
+
- `pnpm run asar:{platform}` - Shows .asar application package content for [win, linux, mac] platforms
0 commit comments