mirror of
https://github.com/multica-ai/multica.git
synced 2026-07-05 13:29:44 +02:00
* feat(desktop): brand dev build as Multica Canary with bundled icon pnpm dev:desktop ran under the stock Electron name and default icon, making it indistinguishable from any other Electron dev app in the dock. Set a Canary app name + userData path and point the macOS dock icon and BrowserWindow icon at the bundled resources/icon.png so the dev build is visually branded. * feat(desktop): allow overriding renderer port via DESKTOP_RENDERER_PORT Lets a second worktree run `pnpm dev:desktop` while a primary checkout already holds the default Vite dev port 5173 — required to actually exercise the "Multica Canary" branding in isolation. * feat(desktop): rebrand Electron.app Info.plist so dev shows Multica Canary app.setName() can't override the macOS menu bar title or Cmd+Tab label — those come from CFBundleName baked into the running bundle's Info.plist. Patch the bundled Electron.app's plist during `pnpm dev:desktop` so dev launches read "Multica Canary" everywhere, not "Electron". Idempotent; unlinks before rewriting so we don't mutate a pnpm-store inode shared with other projects.
37 lines
764 B
JSON
37 lines
764 B
JSON
{
|
|
"$schema": "https://turbo.build/schema.json",
|
|
"globalEnv": [
|
|
"DATABASE_URL",
|
|
"PORT",
|
|
"FRONTEND_PORT",
|
|
"FRONTEND_ORIGIN",
|
|
"NEXT_PUBLIC_API_URL",
|
|
"NEXT_PUBLIC_WS_URL",
|
|
"MULTICA_SERVER_URL",
|
|
"COMPOSE_PROJECT_NAME",
|
|
"POSTGRES_DB",
|
|
"POSTGRES_PORT",
|
|
"DESKTOP_RENDERER_PORT"
|
|
],
|
|
"tasks": {
|
|
"build": {
|
|
"dependsOn": ["^build"],
|
|
"inputs": ["src/**", "app/**", "**/*.ts", "**/*.tsx", "**/*.css"],
|
|
"outputs": [".next/**", "!.next/cache/**", "dist/**"]
|
|
},
|
|
"dev": {
|
|
"cache": false,
|
|
"persistent": true
|
|
},
|
|
"typecheck": {
|
|
"dependsOn": ["^typecheck"]
|
|
},
|
|
"test": {
|
|
"dependsOn": ["^typecheck"]
|
|
},
|
|
"lint": {
|
|
"dependsOn": ["^typecheck"]
|
|
}
|
|
}
|
|
}
|