## Summary - revert the Bun standalone desktop packaging path and restore the server's original `dist/bin.js` bootstrap flow - add a managed Node runtime for Electron and Tauri that downloads only the current platform/arch artifact into `~/.config/codenomad` - update desktop startup and packaging scripts so packaged apps use the managed runtime consistently, and clean up Electron's expected navigation-abort log noise ## Testing - npm run typecheck --workspace @neuralnomads/codenomad-electron-app - cargo check - npm run build --workspace @neuralnomads/codenomad - npm run build:mac --workspace @neuralnomads/codenomad-electron-app - launch `packages/electron-app/release/mac-arm64/CodeNomad.app/Contents/MacOS/CodeNomad` and verify the packaged server reaches ready with the managed Node runtime
92 lines
2.9 KiB
JSON
92 lines
2.9 KiB
JSON
{
|
|
"$schema": "https://schema.tauri.app/config/2",
|
|
"productName": "CodeNomad",
|
|
"version": "0.14.0",
|
|
"identifier": "ai.neuralnomads.codenomad.client",
|
|
"build": {
|
|
"beforeDevCommand": "npm run dev:bootstrap",
|
|
"beforeBuildCommand": "npm run bundle:server",
|
|
"frontendDist": "resources/ui-loading"
|
|
},
|
|
"app": {
|
|
"enableGTKAppId": true,
|
|
"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,
|
|
"linux": {
|
|
"appimage": {
|
|
"files": {
|
|
"/usr/share/applications/ai.neuralnomads.codenomad.client.desktop": "icons/linux/ai.neuralnomads.codenomad.client.desktop"
|
|
}
|
|
},
|
|
"deb": {
|
|
"files": {
|
|
"/usr/share/applications/ai.neuralnomads.codenomad.client.desktop": "icons/linux/ai.neuralnomads.codenomad.client.desktop",
|
|
"/usr/share/icons/hicolor/32x32/apps/codenomad-tauri.png": "icons/linux/32x32.png",
|
|
"/usr/share/icons/hicolor/48x48/apps/codenomad-tauri.png": "icons/linux/48x48.png",
|
|
"/usr/share/icons/hicolor/64x64/apps/codenomad-tauri.png": "icons/linux/64x64.png",
|
|
"/usr/share/icons/hicolor/128x128/apps/codenomad-tauri.png": "icons/linux/128x128.png",
|
|
"/usr/share/icons/hicolor/256x256/apps/codenomad-tauri.png": "icons/linux/256x256.png",
|
|
"/usr/share/icons/hicolor/512x512/apps/codenomad-tauri.png": "icons/linux/512x512.png"
|
|
}
|
|
},
|
|
"rpm": {
|
|
"files": {
|
|
"/usr/share/applications/ai.neuralnomads.codenomad.client.desktop": "icons/linux/ai.neuralnomads.codenomad.client.desktop",
|
|
"/usr/share/icons/hicolor/32x32/apps/codenomad-tauri.png": "icons/linux/32x32.png",
|
|
"/usr/share/icons/hicolor/48x48/apps/codenomad-tauri.png": "icons/linux/48x48.png",
|
|
"/usr/share/icons/hicolor/64x64/apps/codenomad-tauri.png": "icons/linux/64x64.png",
|
|
"/usr/share/icons/hicolor/128x128/apps/codenomad-tauri.png": "icons/linux/128x128.png",
|
|
"/usr/share/icons/hicolor/256x256/apps/codenomad-tauri.png": "icons/linux/256x256.png",
|
|
"/usr/share/icons/hicolor/512x512/apps/codenomad-tauri.png": "icons/linux/512x512.png"
|
|
}
|
|
}
|
|
},
|
|
"resources": [
|
|
"resources/server",
|
|
"resources/ui-loading"
|
|
],
|
|
"icon": [
|
|
"icon.icns",
|
|
"icon.ico",
|
|
"icon.png"
|
|
],
|
|
"targets": [
|
|
"app",
|
|
"appimage",
|
|
"deb",
|
|
"rpm",
|
|
"nsis"
|
|
]
|
|
}
|
|
}
|