- Copy complete source code packages from original CodeNomad project - Add root package.json with npm workspace configuration - Include electron-app, server, ui, tauri-app, and opencode-config packages - Fix Launch-Windows.bat and Launch-Dev-Windows.bat to work with correct npm scripts - Fix Launch-Unix.sh to work with correct npm scripts - Launchers now correctly call npm run dev:electron which launches Electron app
51 lines
1.1 KiB
JSON
51 lines
1.1 KiB
JSON
{
|
|
"$schema": "https://schema.tauri.app/config/2",
|
|
"productName": "CodeNomad",
|
|
"version": "0.1.0",
|
|
"identifier": "ai.opencode.client",
|
|
"build": {
|
|
"beforeDevCommand": "npm run dev:bootstrap",
|
|
"beforeBuildCommand": "npm run bundle:server",
|
|
"frontendDist": "resources/ui-loading"
|
|
},
|
|
|
|
|
|
|
|
"app": {
|
|
"withGlobalTauri": true,
|
|
"windows": [
|
|
{
|
|
"label": "main",
|
|
"title": "CodeNomad",
|
|
"url": "loading.html",
|
|
"width": 1400,
|
|
"height": 900,
|
|
"minWidth": 800,
|
|
"minHeight": 600,
|
|
"center": true,
|
|
"resizable": true,
|
|
"fullscreen": false,
|
|
"decorations": true,
|
|
"theme": "Dark",
|
|
"backgroundColor": "#1a1a1a",
|
|
"zoomHotkeysEnabled": true
|
|
}
|
|
],
|
|
"security": {
|
|
"assetProtocol": {
|
|
"scope": ["**"]
|
|
},
|
|
"capabilities": ["main-window-native-dialogs"]
|
|
}
|
|
},
|
|
"bundle": {
|
|
"active": true,
|
|
"resources": [
|
|
"resources/server",
|
|
"resources/ui-loading"
|
|
],
|
|
"icon": ["icon.icns", "icon.ico", "icon.png"],
|
|
"targets": ["app", "appimage", "deb", "rpm", "nsis"]
|
|
}
|
|
}
|