B1: alpha installers (NSIS, DMG), identifier com.tyrveil.lutra with data migration

- 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>
This commit is contained in:
danny 2026-10-31 21:48:15 +01:00
parent 071b2a5644
commit bd225d9e3a
22 changed files with 1367 additions and 17 deletions

View file

@ -2,7 +2,7 @@
"$schema": "https://schema.tauri.app/config/2",
"productName": "Lutra",
"version": "0.0.0",
"identifier": "dev.lutra.desktop",
"identifier": "com.tyrveil.lutra",
"build": {
"devUrl": "http://localhost:5173",
"frontendDist": "../../ui/dist",
@ -17,7 +17,34 @@
}
},
"bundle": {
"active": false,
"icon": ["icons/icon.png", "icons/icon.ico"]
"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 }
}
}
}
}