mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-01-30 06:12:03 +00:00
feat: enhance Electron build process and server preparation
- Added new build scripts for Electron targeting Windows, macOS, and Linux. - Updated the main build script to include server preparation steps. - Introduced a new script to prepare the server for bundling with Electron, including cleaning previous builds and installing production dependencies. - Modified the Electron main process to verify server file existence and improved error handling. - Updated .gitignore to exclude the new server-bundle directory.
This commit is contained in:
@@ -18,6 +18,9 @@
|
||||
"build": "npm run build --workspace=apps/app",
|
||||
"build:server": "npm run build --workspace=apps/server",
|
||||
"build:electron": "npm run build:electron --workspace=apps/app",
|
||||
"build:electron:win": "npm run build:electron:win --workspace=apps/app",
|
||||
"build:electron:mac": "npm run build:electron:mac --workspace=apps/app",
|
||||
"build:electron:linux": "npm run build:electron:linux --workspace=apps/app",
|
||||
"start": "npm run start --workspace=apps/app",
|
||||
"start:server": "npm run start --workspace=apps/server",
|
||||
"lint": "npm run lint --workspace=apps/app",
|
||||
|
||||
Reference in New Issue
Block a user