feat(gateway): integrate OpenClaw as git submodule
- Add OpenClaw as git submodule at ./openclaw/ - Update GatewayManager to start gateway from submodule path - Support both production (dist) and development (pnpm dev) modes - Add IPC handler for OpenClaw status check - Update Setup wizard to check real OpenClaw submodule status - Configure electron-builder to include submodule in packaged app - Add npm scripts for submodule management: - postinstall: auto-init submodule - openclaw:init: initialize and install dependencies - openclaw:install: install dependencies only - openclaw:build: build OpenClaw - openclaw:update: update to latest version
This commit is contained in:
@@ -20,6 +20,22 @@ extraResources:
|
||||
- "**/*"
|
||||
- "!icons/*.md"
|
||||
- "!icons/*.svg"
|
||||
# OpenClaw submodule - include only necessary files for runtime
|
||||
- from: openclaw/
|
||||
to: openclaw/
|
||||
filter:
|
||||
- "openclaw.mjs"
|
||||
- "package.json"
|
||||
- "dist/**/*"
|
||||
- "skills/**/*"
|
||||
- "extensions/**/*"
|
||||
- "scripts/run-node.mjs"
|
||||
- "!**/*.test.ts"
|
||||
- "!**/*.test.js"
|
||||
- "!**/test/**"
|
||||
- "!**/.git"
|
||||
- "!**/.github"
|
||||
- "!**/docs/**"
|
||||
|
||||
asar: true
|
||||
asarUnpack:
|
||||
|
||||
Reference in New Issue
Block a user