- App identifier com.tyrveil.lutra (D26) in tauri.conf.json and rendezvous::APP_IDENTIFIER; a test keeps them equal. - First normal start copies settings.json, recovery/ and tools/ once from the dev.lutra.desktop directories (staging dir + rename, logged, info notification); old directories stay untouched. - Bundling on: per-user NSIS setup (English, German, Start menu, optional desktop shortcut, uninstaller) and DMG; `cargo xtask bundle` builds the platform's installer, joining the DMG backgrounds into a HiDPI TIFF on macOS. build.rs also writes icons/512x512.png for the .icns. - Installer images from the banner, designed by Amy, generated by `cargo xtask installer-images` (assets/installer/, ASSETS.md rows); approved by Daniel. - docs/install.md (SmartScreen, Gatekeeper, uninstall, data locations), README install section, architecture, development and macOS notes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
50 lines
1.9 KiB
JSON
50 lines
1.9 KiB
JSON
{
|
|
"$schema": "https://schema.tauri.app/config/2",
|
|
"productName": "Lutra",
|
|
"version": "0.0.0",
|
|
"identifier": "com.tyrveil.lutra",
|
|
"build": {
|
|
"devUrl": "http://localhost:5173",
|
|
"frontendDist": "../../ui/dist",
|
|
"beforeDevCommand": { "script": "pnpm dev", "cwd": "../../ui", "wait": false },
|
|
"beforeBuildCommand": { "script": "pnpm build", "cwd": "../../ui" }
|
|
},
|
|
"app": {
|
|
"windows": [],
|
|
"security": {
|
|
"csp": "default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; connect-src 'self' ipc: http://ipc.localhost",
|
|
"devCsp": "default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; connect-src 'self' ipc: http://ipc.localhost ws://localhost:5173 http://localhost:5173"
|
|
}
|
|
},
|
|
"bundle": {
|
|
"active": true,
|
|
"targets": ["nsis", "dmg"],
|
|
"publisher": "Lutra",
|
|
"copyright": "Copyright (c) 2026 Daniel Diekert and the Lutra contributors",
|
|
"license": "MIT OR Apache-2.0",
|
|
"category": "DeveloperTool",
|
|
"shortDescription": "An otterly perfect IDE for PHP",
|
|
"longDescription": "Lutra is an open-source PHP IDE with a Rust core.",
|
|
"icon": ["icons/icon.png", "icons/512x512.png", "icons/icon.ico"],
|
|
"windows": {
|
|
"nsis": {
|
|
"installMode": "currentUser",
|
|
"languages": ["English", "German"],
|
|
"displayLanguageSelector": false,
|
|
"installerIcon": "icons/icon.ico",
|
|
"headerImage": "../../assets/installer/nsis-header.bmp",
|
|
"sidebarImage": "../../assets/installer/nsis-sidebar.bmp",
|
|
"compression": "lzma"
|
|
}
|
|
},
|
|
"macOS": {
|
|
"minimumSystemVersion": "11.0",
|
|
"dmg": {
|
|
"background": "../../assets/installer/dmg-background.png",
|
|
"windowSize": { "width": 720, "height": 400 },
|
|
"appPosition": { "x": 100, "y": 184 },
|
|
"applicationFolderPosition": { "x": 326, "y": 184 }
|
|
}
|
|
}
|
|
}
|
|
}
|