Free fork of NotProton: Windows Steam games in Mac Steam, on CodeWeavers' Wine and Apple's Game Porting Toolkit
Swift apple-silicond3dmetaldxmtdxvkgame-porting-toolkitgptkmac-gamingmacosmetalfxrosetta-2steamsteam-playwinewinecx
fix(installer): preserve read-only backups and validate release packaging
tememumtazac20d79003e56
diff --git a/Makefile b/Makefileindex dcb0fc0..5aad10f 100644--- a/Makefile+++ b/Makefile@@ -149,8 +149,10 @@ mincheck:.PHONY: l10ncheckl10ncheck:@bin=$$(swift build --package-path app -c release --show-bin-path); \- python3 dylib/tests/l10ncheck.py app/Sources/BridgeplayApp/Resources/Localization/Localizable.xcstrings \- "$$bin/../../Intermediates.noindex/BridgeplayApp.build/$$(basename "$$bin")" zh-Hans it+ for target in BridgeplayApp BridgeplayInstaller; do \+ python3 dylib/tests/l10ncheck.py "app/Sources/$$target/Resources/Localization/Localizable.xcstrings" \+ "$$bin/../../Intermediates.noindex/BridgeplayApp.build/$$(basename "$$bin")" zh-Hans it || exit $$?; \+ done# runcheck owns compat_run.sh, whose warnings wait for a change that can move# the embedded __text baselinediff --git a/app/Sources/BridgeplayInstaller/Resources/Localization/Localizable.xcstrings b/app/Sources/BridgeplayInstaller/Resources/Localization/Localizable.xcstringsindex f0c1873..f11183e 100644--- a/app/Sources/BridgeplayInstaller/Resources/Localization/Localizable.xcstrings+++ b/app/Sources/BridgeplayInstaller/Resources/Localization/Localizable.xcstrings@@ -1,969 +1,970 @@{- "sourceLanguage": "en",- "strings": {- "Bridgeplay Installer": {- "localizations": {- "it": {- "stringUnit": {- "state": "translated",- "value": "Installatore Bridgeplay"+ "sourceLanguage" : "en",+ "strings" : {+ "A newer Bridgeplay build is already installed. It has been kept." : {+ "localizations" : {+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "A newer Bridgeplay build is already installed. It has been kept."}},- "zh-Hans": {- "stringUnit": {- "state": "translated",- "value": "Program Installer Bridgeplay"+ "it" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "È già installata una build più recente di Bridgeplay. È stata mantenuta."+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "已安装更新的 Bridgeplay 构建版本,现有版本已保留。"}}}},- "Bridgeplay is installed. You can eject the installer and move its DMG to Trash in Finder.": {- "localizations": {- "it": {- "stringUnit": {- "state": "translated",- "value": "Bridgeplay è installato. Puoi espellere il programma di installazione e spostare il DMG nel Cestino dal Finder."+ "Another application already uses the install location. Move it in Finder before trying again." : {+ "localizations" : {+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Another application already uses the install location. Move it in Finder before trying again."+ }+ },+ "it" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Un’altra applicazione occupa già il percorso di installazione. Spostala nel Finder prima di riprovare."}},- "zh-Hans": {- "stringUnit": {- "state": "translated",- "value": "Bridgeplay 已安装。你可以在 Finder 中推出安装器并将 DMG 移到废纸篓。"+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "安装位置已有其他应用。请在访达中将其移走后重试。"}}}},- "Bridgeplay is ready": {- "localizations": {- "it": {- "stringUnit": {- "state": "translated",- "value": "Bridgeplay è pronto"+ "Another installation is in progress, or the installer lock cannot be accessed. Try again after it finishes." : {+ "localizations" : {+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Another installation is in progress, or the installer lock cannot be accessed. Try again after it finishes."}},- "zh-Hans": {- "stringUnit": {- "state": "translated",- "value": "Bridgeplay 已就绪"+ "it" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "È in corso un’altra installazione o non è possibile accedere al blocco del programma di installazione. Riprova al termine."+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "另一个安装正在进行,或无法访问安装锁。请在安装结束后重试。"}}}},- "Bridgeplay is up to date": {- "localizations": {- "it": {- "stringUnit": {- "state": "translated",- "value": "Bridgeplay è aggiornato"+ "Bridgeplay Installer" : {+ "localizations" : {+ "it" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Installatore Bridgeplay"}},- "zh-Hans": {- "stringUnit": {- "state": "translated",- "value": "Bridgeplay 已是最新版本"+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Program Installer Bridgeplay"}}}},- "Cancel": {- "localizations": {- "it": {- "stringUnit": {- "state": "translated",- "value": "Annulla"+ "Bridgeplay is installed. You can eject the installer and move its DMG to Trash in Finder." : {+ "localizations" : {+ "it" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Bridgeplay è installato. Puoi espellere il programma di installazione e spostare il DMG nel Cestino dal Finder."}},- "zh-Hans": {- "stringUnit": {- "state": "translated",- "value": "取消"+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Bridgeplay 已安装。你可以在 Finder 中推出安装器并将 DMG 移到废纸篓。"}}}},- "Check": {- "localizations": {- "it": {- "stringUnit": {- "state": "translated",- "value": "Verifica"+ "Bridgeplay is ready" : {+ "localizations" : {+ "it" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Bridgeplay è pronto"}},- "zh-Hans": {- "stringUnit": {- "state": "translated",- "value": "检查"+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Bridgeplay 已就绪"}}}},- "Check your installation": {- "localizations": {- "it": {- "stringUnit": {- "state": "translated",- "value": "Controlla l'installazione"+ "Bridgeplay is up to date" : {+ "localizations" : {+ "it" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Bridgeplay è aggiornato"}},- "zh-Hans": {- "stringUnit": {- "state": "translated",- "value": "检查安装状态"+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Bridgeplay 已是最新版本"}}}},- "Checking the latest release and the application on this Mac.": {- "localizations": {- "it": {- "stringUnit": {- "state": "translated",- "value": "Controllo l'ultima versione e l'applicazione su questo Mac."+ "Cancel" : {+ "localizations" : {+ "it" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Annulla"}},- "zh-Hans": {- "stringUnit": {- "state": "translated",- "value": "正在检查最新版本以及这台 Mac 上的应用程序。"+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "取消"}}}},- "Close Bridgeplay before updating. Steam setup and any required permissions are handled by Bridgeplay after installation.": {- "localizations": {- "it": {- "stringUnit": {- "state": "translated",- "value": "Chiudi Bridgeplay prima di aggiornare. Dopo l'installazione, Bridgeplay configurerà Steam e richiederà le autorizzazioni necessarie."+ "Check" : {+ "localizations" : {+ "it" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Verifica"}},- "zh-Hans": {- "stringUnit": {- "state": "translated",- "value": "更新前请先退出 Bridgeplay。安装后,Bridgeplay 会配置 Steam 并请求所需权限。"+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "检查"}}}},- "Download": {- "localizations": {- "it": {- "stringUnit": {- "state": "translated",- "value": "Download"+ "Check your installation" : {+ "localizations" : {+ "it" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Controlla l'installazione"}},- "zh-Hans": {- "stringUnit": {- "state": "translated",- "value": "下载"+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "检查安装状态"}}}},- "Downloading": {- "localizations": {- "it": {- "stringUnit": {- "state": "translated",- "value": "Download in corso"+ "Checking the latest release and the application on this Mac." : {+ "localizations" : {+ "it" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Controllo l'ultima versione e l'applicazione su questo Mac."}},- "zh-Hans": {- "stringUnit": {- "state": "translated",- "value": "正在下载"+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "正在检查最新版本以及这台 Mac 上的应用程序。"}}}},- "Downloading Bridgeplay": {- "localizations": {- "it": {- "stringUnit": {- "state": "translated",- "value": "Download di Bridgeplay"+ "Close Bridgeplay before updating. Steam setup and any required permissions are handled by Bridgeplay after installation." : {+ "localizations" : {+ "it" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Chiudi Bridgeplay prima di aggiornare. Dopo l'installazione, Bridgeplay configurerà Steam e richiederà le autorizzazioni necessarie."}},- "zh-Hans": {- "stringUnit": {- "state": "translated",- "value": "正在下载 Bridgeplay"+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "更新前请先退出 Bridgeplay。安装后,Bridgeplay 会配置 Steam 并请求所需权限。"}}}},- "Eject installer and move DMG to Trash": {- "localizations": {- "it": {- "stringUnit": {- "state": "translated",- "value": "Espelli il programma di installazione e sposta il DMG nel Cestino"+ "Could not reach the release server. Check your connection and try again." : {+ "localizations" : {+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Could not reach the release server. Check your connection and try again."+ }+ },+ "it" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Impossibile raggiungere il server delle versioni. Controlla la connessione e riprova."}},- "zh-Hans": {- "stringUnit": {- "state": "translated",- "value": "推出安装器并将 DMG 移到废纸篓"+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "无法连接到版本服务器。请检查网络连接后重试。"}}}},- "Finish": {- "localizations": {- "it": {- "stringUnit": {- "state": "translated",- "value": "Fine"+ "Download" : {+ "localizations" : {+ "it" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Download"}},- "zh-Hans": {- "stringUnit": {- "state": "translated",- "value": "完成"+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "下载"}}}},- "Game data": {- "localizations": {- "it": {- "stringUnit": {- "state": "translated",- "value": "Dati di gioco"+ "Downloading" : {+ "localizations" : {+ "it" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Download in corso"}},- "zh-Hans": {- "stringUnit": {- "state": "translated",- "value": "游戏数据"+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "正在下载"}}}},- "In your Mac's Steam.": {- "localizations": {- "it": {- "stringUnit": {- "state": "translated",- "value": "Nel tuo Steam sul Mac."+ "Downloading Bridgeplay" : {+ "localizations" : {+ "it" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Download di Bridgeplay"}},- "zh-Hans": {- "stringUnit": {- "state": "translated",- "value": "在 Mac 的 Steam 中畅玩。"+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "正在下载 Bridgeplay"}}}},- "Install": {- "localizations": {- "it": {- "stringUnit": {- "state": "translated",- "value": "Installa"+ "Eject installer and move DMG to Trash" : {+ "localizations" : {+ "it" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Espelli il programma di installazione e sposta il DMG nel Cestino"}},- "zh-Hans": {- "stringUnit": {- "state": "translated",- "value": "安装"+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "推出安装器并将 DMG 移到废纸篓"}}}},- "Install Bridgeplay": {- "localizations": {- "it": {- "stringUnit": {- "state": "translated",- "value": "Installa Bridgeplay"+ "Finish" : {+ "localizations" : {+ "it" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Fine"}},- "zh-Hans": {- "stringUnit": {- "state": "translated",- "value": "安装 Bridgeplay"+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "完成"}}}},- "Installation could not continue": {- "localizations": {- "it": {- "stringUnit": {- "state": "translated",- "value": "Impossibile continuare l'installazione"+ "Game data" : {+ "localizations" : {+ "it" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Dati di gioco"}},- "zh-Hans": {- "stringUnit": {- "state": "translated",- "value": "无法继续安装"+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "游戏数据"}}}},- "Installed": {- "localizations": {- "it": {- "stringUnit": {- "state": "translated",- "value": "Installato"+ "In your Mac's Steam." : {+ "localizations" : {+ "it" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Nel tuo Steam sul Mac."}},- "zh-Hans": {- "stringUnit": {- "state": "translated",- "value": "已安装版本"+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "在 Mac 的 Steam 中畅玩。"}}}},- "Installer cleanup could not finish": {- "localizations": {- "it": {- "stringUnit": {- "state": "translated",- "value": "Impossibile completare la pulizia del programma di installazione"+ "Install" : {+ "localizations" : {+ "it" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Installa"}},- "zh-Hans": {- "stringUnit": {- "state": "translated",- "value": "无法完成安装器清理"+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "安装"}}}},- "Installing Bridgeplay": {- "localizations": {- "it": {- "stringUnit": {- "state": "translated",- "value": "Installazione di Bridgeplay"+ "Install Bridgeplay" : {+ "localizations" : {+ "it" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Installa Bridgeplay"}},- "zh-Hans": {- "stringUnit": {- "state": "translated",- "value": "正在安装 Bridgeplay"+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "安装 Bridgeplay"}}}},- "Kept in place": {- "localizations": {- "it": {- "stringUnit": {- "state": "translated",- "value": "Conservati"+ "Installation could not continue" : {+ "localizations" : {+ "it" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Impossibile continuare l'installazione"}},- "zh-Hans": {- "stringUnit": {- "state": "translated",- "value": "已保留"+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "无法继续安装"}}}},- "Location": {- "localizations": {- "it": {- "stringUnit": {- "state": "translated",- "value": "Posizione"+ "Installed" : {+ "localizations" : {+ "it" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Installato"}},- "zh-Hans": {- "stringUnit": {- "state": "translated",- "value": "位置"+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "已安装版本"}}}},- "OK": {- "localizations": {- "it": {- "stringUnit": {- "state": "translated",- "value": "OK"+ "Installer cleanup could not finish" : {+ "localizations" : {+ "it" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Impossibile completare la pulizia del programma di installazione"}},- "zh-Hans": {- "stringUnit": {- "state": "translated",- "value": "好"+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "无法完成安装器清理"}}}},- "Only the application is downloaded here. Its signature is checked before installation.": {- "localizations": {- "it": {- "stringUnit": {- "state": "translated",- "value": "Qui viene scaricata solo l'applicazione. La firma viene verificata prima dell'installazione."+ "Installing Bridgeplay" : {+ "localizations" : {+ "it" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Installazione di Bridgeplay"}},- "zh-Hans": {- "stringUnit": {- "state": "translated",- "value": "此处只会下载应用程序,并在安装前验证其签名。"+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "正在安装 Bridgeplay"}}}},- "Open Bridgeplay": {- "localizations": {- "it": {- "stringUnit": {- "state": "translated",- "value": "Apri Bridgeplay"+ "Kept in place" : {+ "localizations" : {+ "it" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Conservati"}},- "zh-Hans": {- "stringUnit": {- "state": "translated",- "value": "打开 Bridgeplay"+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "已保留"}}}},- "Open Bridgeplay to continue setup or check its Status page for component updates. Engine and graphics downloads are handled there.": {- "localizations": {- "it": {- "stringUnit": {- "state": "translated",- "value": "Apri Bridgeplay per continuare la configurazione o controllare gli aggiornamenti dei componenti nella pagina Stato. Da lì puoi scaricare motore e grafica."+ "Location" : {+ "localizations" : {+ "it" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Posizione"}},- "zh-Hans": {- "stringUnit": {- "state": "translated",- "value": "打开 Bridgeplay 继续设置,或在“状态”页面检查组件更新。你可以在那里下载引擎和图形组件。"+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "位置"}}}},- "Review": {- "localizations": {- "it": {- "stringUnit": {- "state": "translated",- "value": "Riepilogo"+ "OK" : {+ "localizations" : {+ "it" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "OK"}},- "zh-Hans": {- "stringUnit": {- "state": "translated",- "value": "确认"+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "好"}}}},- "Review the details below, then try again. The installer does not remove your game data.": {- "localizations": {- "it": {- "stringUnit": {- "state": "translated",- "value": "Controlla i dettagli qui sotto e riprova. Il programma di installazione non rimuove i dati di gioco."+ "Only the application is downloaded here. Its signature is checked before installation." : {+ "localizations" : {+ "it" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Qui viene scaricata solo l'applicazione. La firma viene verificata prima dell'installazione."}},- "zh-Hans": {- "stringUnit": {- "state": "translated",- "value": "请查看下方详情后重试。安装器不会删除你的游戏数据。"+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "此处只会下载应用程序,并在安装前验证其签名。"}}}},- "Something went wrong": {- "localizations": {- "it": {- "stringUnit": {- "state": "translated",- "value": "Si è verificato un problema"+ "Open Bridgeplay" : {+ "localizations" : {+ "it" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Apri Bridgeplay"}},- "zh-Hans": {- "stringUnit": {- "state": "translated",- "value": "出了点问题"+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "打开 Bridgeplay"}}}},- "The application goes in Applications. Your settings, game prefixes and saves are kept.": {- "localizations": {- "it": {- "stringUnit": {- "state": "translated",- "value": "L'applicazione viene installata in Applicazioni. Le impostazioni, i prefissi di gioco e i salvataggi vengono mantenuti."+ "Open Bridgeplay to continue setup or check its Status page for component updates. Engine and graphics downloads are handled there." : {+ "localizations" : {+ "it" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Apri Bridgeplay per continuare la configurazione o controllare gli aggiornamenti dei componenti nella pagina Stato. Da lì puoi scaricare motore e grafica."}},- "zh-Hans": {- "stringUnit": {- "state": "translated",- "value": "应用程序将安装到“应用程序”文件夹。你的设置、游戏前缀和存档都会保留。"+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "打开 Bridgeplay 继续设置,或在“状态”页面检查组件更新。你可以在那里下载引擎和图形组件。"}}}},- "The download could not be verified. Your installed application has been kept.": {- "localizations": {- "it": {- "stringUnit": {- "state": "translated",- "value": "Impossibile verificare il download. L'applicazione installata è stata conservata."+ "Quit Bridgeplay and its updater, then try again." : {+ "localizations" : {+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Quit Bridgeplay and its updater, then try again."}},- "zh-Hans": {- "stringUnit": {- "state": "translated",- "value": "无法验证下载文件。已保留当前安装的应用程序。"+ "it" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Chiudi Bridgeplay e il suo programma di aggiornamento, poi riprova."+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "请退出 Bridgeplay 及其更新程序后重试。"}}}},- "The source DMG could not be identified. You can eject it and move it to Trash in Finder.": {- "localizations": {- "it": {- "stringUnit": {- "state": "translated",- "value": "Impossibile identificare il DMG di origine. Puoi espellerlo e spostarlo nel Cestino dal Finder."+ "Review" : {+ "localizations" : {+ "it" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Riepilogo"}},- "zh-Hans": {- "stringUnit": {- "state": "translated",- "value": "无法识别来源 DMG。你可以在 Finder 中将其推出并移到废纸篓。"+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "确认"}}}},- "Try Again": {- "localizations": {- "it": {- "stringUnit": {- "state": "translated",- "value": "Riprova"+ "Review the details below, then try again. The installer does not remove your game data." : {+ "localizations" : {+ "it" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Controlla i dettagli qui sotto e riprova. Il programma di installazione non rimuove i dati di gioco."}},- "zh-Hans": {- "stringUnit": {- "state": "translated",- "value": "重试"+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "请查看下方详情后重试。安装器不会删除你的游戏数据。"}}}},- "Update": {- "localizations": {- "it": {- "stringUnit": {- "state": "translated",- "value": "Aggiorna"+ "Something went wrong" : {+ "localizations" : {+ "it" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Si è verificato un problema"}},- "zh-Hans": {- "stringUnit": {- "state": "translated",- "value": "更新"+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "出了点问题"}}}},- "Update Bridgeplay": {- "localizations": {- "it": {- "stringUnit": {- "state": "translated",- "value": "Aggiorna Bridgeplay"+ "The application could not be replaced. Check the app and its previous-version backup in Applications before trying again." : {+ "localizations" : {+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "The application could not be replaced. Check the app and its previous-version backup in Applications before trying again."+ }+ },+ "it" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Impossibile sostituire l’applicazione. Controlla l’app e il backup della versione precedente in Applicazioni prima di riprovare."}},- "zh-Hans": {- "stringUnit": {- "state": "translated",- "value": "更新 Bridgeplay"+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "无法替换应用。请在“应用程序”中检查应用及其旧版本备份后重试。"}}}},- "Verifying and installing": {- "localizations": {- "it": {- "stringUnit": {- "state": "translated",- "value": "Verifica e installazione"+ "The application goes in Applications. Your settings, game prefixes and saves are kept." : {+ "localizations" : {+ "it" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "L'applicazione viene installata in Applicazioni. Le impostazioni, i prefissi di gioco e i salvataggi vengono mantenuti."}},- "zh-Hans": {- "stringUnit": {- "state": "translated",- "value": "正在验证并安装"+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "应用程序将安装到“应用程序”文件夹。你的设置、游戏前缀和存档都会保留。"}}}},- "Verifying and replacing the application. Please keep the installer open.": {- "localizations": {- "it": {- "stringUnit": {- "state": "translated",- "value": "Verifica e sostituzione dell'applicazione. Tieni aperto il programma di installazione."+ "The application location is not safe to update." : {+ "localizations" : {+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "The application location is not safe to update."}},- "zh-Hans": {- "stringUnit": {- "state": "translated",- "value": "正在验证并替换应用程序。请保持安装器打开。"+ "it" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Il percorso dell’applicazione non può essere aggiornato in sicurezza."+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "无法安全更新此应用位置。"}}}},- "Version": {- "localizations": {- "it": {- "stringUnit": {- "state": "translated",- "value": "Versione"+ "The download could not be saved. Check available space and folder permissions." : {+ "localizations" : {+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "The download could not be saved. Check available space and folder permissions."+ }+ },+ "it" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Impossibile salvare il download. Controlla lo spazio disponibile e i permessi della cartella."}},- "zh-Hans": {- "stringUnit": {- "state": "translated",- "value": "版本"+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "无法保存下载内容。请检查可用空间和文件夹权限。"}}}},- "Windows games.": {- "localizations": {- "it": {- "stringUnit": {- "state": "translated",- "value": "Giochi Windows."+ "The download could not be verified. Your installed application has been kept." : {+ "localizations" : {+ "it" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Impossibile verificare il download. L'applicazione installata è stata conservata."}},- "zh-Hans": {- "stringUnit": {- "state": "translated",- "value": "畅玩 Windows 游戏。"+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "无法验证下载文件。已保留当前安装的应用程序。"}}}},- "The release information is invalid. Try again later.": {- "localizations": {- "en": {- "stringUnit": {- "state": "translated",- "value": "The release information is invalid. Try again later."+ "The download is incomplete or has an unexpected size. Try again." : {+ "localizations" : {+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "The download is incomplete or has an unexpected size. Try again."}},- "it": {- "stringUnit": {- "state": "translated",- "value": "Le informazioni sulla versione non sono valide. Riprova più tardi."+ "it" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Il download è incompleto o ha dimensioni inattese. Riprova."}},- "zh-Hans": {- "stringUnit": {- "state": "translated",- "value": "版本信息无效。请稍后重试。"+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "下载不完整或大小不符合预期。请重试。"}}}},- "Could not reach the release server. Check your connection and try again.": {- "localizations": {- "en": {- "stringUnit": {- "state": "translated",- "value": "Could not reach the release server. Check your connection and try again."+ "The downloaded application did not pass validation. Your installed application has been kept." : {+ "localizations" : {+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "The downloaded application did not pass validation. Your installed application has been kept."}},- "it": {- "stringUnit": {- "state": "translated",- "value": "Impossibile raggiungere il server delle versioni. Controlla la connessione e riprova."+ "it" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "L’applicazione scaricata non ha superato la verifica. L’applicazione installata è stata mantenuta."}},- "zh-Hans": {- "stringUnit": {- "state": "translated",- "value": "无法连接到版本服务器。请检查网络连接后重试。"+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "下载的应用未通过验证。现有应用已保留。"}}}},- "The application location is not safe to update.": {- "localizations": {- "en": {- "stringUnit": {- "state": "translated",- "value": "The application location is not safe to update."+ "The existing application could not be read. Check the application in Finder before trying again." : {+ "localizations" : {+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "The existing application could not be read. Check the application in Finder before trying again."}},- "it": {- "stringUnit": {- "state": "translated",- "value": "Il percorso dell’applicazione non può essere aggiornato in sicurezza."+ "it" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Impossibile leggere l’applicazione esistente. Controllala nel Finder prima di riprovare."}},- "zh-Hans": {- "stringUnit": {- "state": "translated",- "value": "无法安全更新此应用位置。"+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "无法读取现有应用。请在访达中检查该应用后重试。"}}}},- "The download is incomplete or has an unexpected size. Try again.": {- "localizations": {- "en": {- "stringUnit": {- "state": "translated",- "value": "The download is incomplete or has an unexpected size. Try again."+ "The release information is invalid. Try again later." : {+ "localizations" : {+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "The release information is invalid. Try again later."}},- "it": {- "stringUnit": {- "state": "translated",- "value": "Il download è incompleto o ha dimensioni inattese. Riprova."+ "it" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Le informazioni sulla versione non sono valide. Riprova più tardi."}},- "zh-Hans": {- "stringUnit": {- "state": "translated",- "value": "下载不完整或大小不符合预期。请重试。"+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "版本信息无效。请稍后重试。"}}}},- "The download could not be saved. Check available space and folder permissions.": {- "localizations": {- "en": {- "stringUnit": {- "state": "translated",- "value": "The download could not be saved. Check available space and folder permissions."+ "The source DMG could not be identified. You can eject it and move it to Trash in Finder." : {+ "localizations" : {+ "it" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Impossibile identificare il DMG di origine. Puoi espellerlo e spostarlo nel Cestino dal Finder."}},- "it": {- "stringUnit": {- "state": "translated",- "value": "Impossibile salvare il download. Controlla lo spazio disponibile e i permessi della cartella."- }- },- "zh-Hans": {- "stringUnit": {- "state": "translated",- "value": "无法保存下载内容。请检查可用空间和文件夹权限。"+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "无法识别来源 DMG。你可以在 Finder 中将其推出并移到废纸篓。"}}}},- "This release requires a newer macOS version or an Apple silicon Mac.": {- "localizations": {- "en": {- "stringUnit": {- "state": "translated",- "value": "This release requires a newer macOS version or an Apple silicon Mac."+ "This Bridgeplay version is already installed. Check again to continue." : {+ "localizations" : {+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "This Bridgeplay version is already installed. Check again to continue."}},- "it": {- "stringUnit": {- "state": "translated",- "value": "Questa versione richiede una versione più recente di macOS o un Mac con chip Apple."+ "it" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Questa versione di Bridgeplay è già installata. Controlla di nuovo per continuare."}},- "zh-Hans": {- "stringUnit": {- "state": "translated",- "value": "此版本需要更新的 macOS 或搭载 Apple 芯片的 Mac。"+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "此 Bridgeplay 版本已安装。请重新检查以继续。"}}}},- "The existing application could not be read. Check the application in Finder before trying again.": {- "localizations": {- "en": {- "stringUnit": {- "state": "translated",- "value": "The existing application could not be read. Check the application in Finder before trying again."+ "This release requires a newer macOS version or an Apple silicon Mac." : {+ "localizations" : {+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "This release requires a newer macOS version or an Apple silicon Mac."}},- "it": {- "stringUnit": {- "state": "translated",- "value": "Impossibile leggere l’applicazione esistente. Controllala nel Finder prima di riprovare."+ "it" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Questa versione richiede una versione più recente di macOS o un Mac con chip Apple."}},- "zh-Hans": {- "stringUnit": {- "state": "translated",- "value": "无法读取现有应用。请在访达中检查该应用后重试。"+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "此版本需要更新的 macOS 或搭载 Apple 芯片的 Mac。"}}}},- "Another application already uses the install location. Move it in Finder before trying again.": {- "localizations": {- "en": {- "stringUnit": {- "state": "translated",- "value": "Another application already uses the install location. Move it in Finder before trying again."- }- },- "it": {- "stringUnit": {- "state": "translated",- "value": "Un’altra applicazione occupa già il percorso di installazione. Spostala nel Finder prima di riprovare."+ "Try Again" : {+ "localizations" : {+ "it" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Riprova"}},- "zh-Hans": {- "stringUnit": {- "state": "translated",- "value": "安装位置已有其他应用。请在访达中将其移走后重试。"+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "重试"}}}},- "A newer Bridgeplay build is already installed. It has been kept.": {- "localizations": {- "en": {- "stringUnit": {- "state": "translated",- "value": "A newer Bridgeplay build is already installed. It has been kept."+ "Update" : {+ "localizations" : {+ "it" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Aggiorna"}},- "it": {- "stringUnit": {- "state": "translated",- "value": "È già installata una build più recente di Bridgeplay. È stata mantenuta."- }- },- "zh-Hans": {- "stringUnit": {- "state": "translated",- "value": "已安装更新的 Bridgeplay 构建版本,现有版本已保留。"+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "更新"}}}},- "This Bridgeplay version is already installed. Check again to continue.": {- "localizations": {- "en": {- "stringUnit": {- "state": "translated",- "value": "This Bridgeplay version is already installed. Check again to continue."- }- },- "it": {- "stringUnit": {- "state": "translated",- "value": "Questa versione di Bridgeplay è già installata. Controlla di nuovo per continuare."+ "Update Bridgeplay" : {+ "localizations" : {+ "it" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Aggiorna Bridgeplay"}},- "zh-Hans": {- "stringUnit": {- "state": "translated",- "value": "此 Bridgeplay 版本已安装。请重新检查以继续。"+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "更新 Bridgeplay"}}}},- "Quit Bridgeplay and its updater, then try again.": {- "localizations": {- "en": {- "stringUnit": {- "state": "translated",- "value": "Quit Bridgeplay and its updater, then try again."+ "Verifying and installing" : {+ "localizations" : {+ "it" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Verifica e installazione"}},- "it": {- "stringUnit": {- "state": "translated",- "value": "Chiudi Bridgeplay e il suo programma di aggiornamento, poi riprova."- }- },- "zh-Hans": {- "stringUnit": {- "state": "translated",- "value": "请退出 Bridgeplay 及其更新程序后重试。"+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "正在验证并安装"}}}},- "Another installation is in progress, or the installer lock cannot be accessed. Try again after it finishes.": {- "localizations": {- "en": {- "stringUnit": {- "state": "translated",- "value": "Another installation is in progress, or the installer lock cannot be accessed. Try again after it finishes."- }- },- "it": {- "stringUnit": {- "state": "translated",- "value": "È in corso un’altra installazione o non è possibile accedere al blocco del programma di installazione. Riprova al termine."+ "Verifying and replacing the application. Please keep the installer open." : {+ "localizations" : {+ "it" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Verifica e sostituzione dell'applicazione. Tieni aperto il programma di installazione."}},- "zh-Hans": {- "stringUnit": {- "state": "translated",- "value": "另一个安装正在进行,或无法访问安装锁。请在安装结束后重试。"+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "正在验证并替换应用程序。请保持安装器打开。"}}}},- "The downloaded application did not pass validation. Your installed application has been kept.": {- "localizations": {- "en": {- "stringUnit": {- "state": "translated",- "value": "The downloaded application did not pass validation. Your installed application has been kept."+ "Version" : {+ "localizations" : {+ "it" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Versione"}},- "it": {- "stringUnit": {- "state": "translated",- "value": "L’applicazione scaricata non ha superato la verifica. L’applicazione installata è stata mantenuta."- }- },- "zh-Hans": {- "stringUnit": {- "state": "translated",- "value": "下载的应用未通过验证。现有应用已保留。"+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "版本"}}}},- "The application could not be replaced. Check the app and its previous-version backup in Applications before trying again.": {- "localizations": {- "en": {- "stringUnit": {- "state": "translated",- "value": "The application could not be replaced. Check the app and its previous-version backup in Applications before trying again."- }- },- "it": {- "stringUnit": {- "state": "translated",- "value": "Impossibile sostituire l’applicazione. Controlla l’app e il backup della versione precedente in Applicazioni prima di riprovare."+ "Windows games." : {+ "localizations" : {+ "it" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Giochi Windows."}},- "zh-Hans": {- "stringUnit": {- "state": "translated",- "value": "无法替换应用。请在“应用程序”中检查应用及其旧版本备份后重试。"+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "畅玩 Windows 游戏。"}}}}- }-}+ },+ "version" : "1.0"+}\ No newline at end of filediff --git a/app/Sources/BridgeplayInstallerCore/InstallerService.swift b/app/Sources/BridgeplayInstallerCore/InstallerService.swiftindex ab2b937..155f7e0 100644--- a/app/Sources/BridgeplayInstallerCore/InstallerService.swift+++ b/app/Sources/BridgeplayInstallerCore/InstallerService.swift@@ -140,14 +140,17 @@ public struct InstallerService: Sendable {}}+ var retiredBackup: URL?if backupExists {let previous = try Self.readBundle(at: backup)guard previous.identifier == Self.bundleIdentifier else {throw InstallerError.invalidInstallation("A different app is occupying the saved recovery location.")}try Self.verifyInstalledSignature(at: backup)- do { try fileManager.removeItem(at: backup) }+ let retired = parent.appending(path: ".Bridgeplay.app.previous-\(UUID().uuidString)", directoryHint: .isDirectory)+ do { try fileManager.moveItem(at: backup, to: retired) }catch { throw InstallerError.writeFailure(error.localizedDescription) }+ retiredBackup = retired}do {@@ -163,13 +166,39 @@ public struct InstallerService: Sendable {rollbackDetail = " The previous app remains at \(backup.path): \(error.localizedDescription)"}}+ if let retiredBackup, !fileManager.fileExists(atPath: backup.path) {+ try? fileManager.moveItem(at: retiredBackup, to: backup)+ }throw InstallerError.replacementFailure("\(error.localizedDescription)\(rollbackDetail)")}+ // Foreign-owned or read-only copies remain intact for an administrator to remove.+ if let retiredBackup, Self.canDiscardRetiredBackup(retiredBackup) {+ try? fileManager.removeItem(at: retiredBackup)+ }// Keep one verified previous app for recovery if the next launch fails.return destination}+ private static func canDiscardRetiredBackup(_ url: URL) -> Bool {+ let fm = FileManager.default+ guard let attributes = try? fm.attributesOfItem(atPath: url.path),+ let owner = attributes[.ownerAccountID] as? NSNumber,+ owner.uint32Value == getuid() else { return false }+ func writableDirectories(_ directory: URL) -> Bool {+ guard fm.isWritableFile(atPath: directory.path),+ let children = try? fm.contentsOfDirectory(+ at: directory, includingPropertiesForKeys: [.isDirectoryKey, .isSymbolicLinkKey]+ ) else { return false }+ for child in children {+ guard let values = try? child.resourceValues(forKeys: [.isDirectoryKey, .isSymbolicLinkKey]) else { return false }+ if values.isDirectory == true, values.isSymbolicLink != true, !writableDirectories(child) { return false }+ }+ return true+ }+ return writableDirectories(url)+ }+/// Resolve symlinked ancestors once, while preserving the final path component for lstat./// This avoids operations through aliases such as macOS's /tmp -> /private/tmp.private var transactionDestination: URL {diff --git a/app/Tests/BridgeplayInstallerCoreTests/InstallerServiceTests.swift b/app/Tests/BridgeplayInstallerCoreTests/InstallerServiceTests.swiftindex c1351b4..c531fd7 100644--- a/app/Tests/BridgeplayInstallerCoreTests/InstallerServiceTests.swift+++ b/app/Tests/BridgeplayInstallerCoreTests/InstallerServiceTests.swift@@ -323,12 +323,44 @@ struct InstallerServiceTests {#expect(try Data(contentsOf: save) == Data("keep this save".utf8))}- @Test func recoversPreviousBundleBeforeUpdatingAndPreservesUserData() throws {+ @Test func rotatesReadOnlyPreviousBundleWithoutDeletingItsContents() throws {let root = try temporaryDirectory()defer { try? FileManager.default.removeItem(at: root) }let key = Curve25519.Signing.PrivateKey()let (release, archive) = try makeSignedArchive(in: root, build: "35", version: "3.5.0", key: key)let parent = root.appending(path: "Applications", directoryHint: .isDirectory)+ let destination = parent.appending(path: "Bridgeplay.app", directoryHint: .isDirectory)+ let backup = parent.appending(path: ".Bridgeplay.app.previous", directoryHint: .isDirectory)+ try writeSignedApp(at: destination, version: "3.4.1", build: "34")+ try writeSignedApp(at: backup, version: "3.3.0", build: "33")+ let contents = backup.appending(path: "Contents", directoryHint: .isDirectory)+ try FileManager.default.setAttributes([.posixPermissions: 0o555], ofItemAtPath: contents.path)+ defer {+ for entry in (try? FileManager.default.contentsOfDirectory(at: parent, includingPropertiesForKeys: nil)) ?? [] {+ if entry.lastPathComponent.hasPrefix(".Bridgeplay.app.previous-") {+ try? FileManager.default.setAttributes([.posixPermissions: 0o755], ofItemAtPath: entry.appending(path: "Contents").path)+ }+ }+ }++ try service(at: destination).install(release: release, archive: archive)++ #expect(try installedBuild(at: destination) == "35")+ #expect(try installedBuild(at: backup) == "34")+ let retired = try FileManager.default.contentsOfDirectory(at: parent, includingPropertiesForKeys: nil)+ .filter { $0.lastPathComponent.hasPrefix(".Bridgeplay.app.previous-") }+ #expect(retired.count == 1)+ let preserved = try #require(retired.first)+ #expect(try installedBuild(at: preserved) == "33")+ try run("/usr/bin/codesign", ["--verify", "--strict", "--deep", preserved.path])+ }++ @Test func recoversPreviousBundleBeforeUpdatingAndPreservesUserData() throws {+ let root = try temporaryDirectory()+ defer { try? FileManager.default.removeItem(at: root) }+ let key = Curve25519.Signing.PrivateKey()+ let (release, _) = try makeSignedArchive(in: root, build: "35", version: "3.5.0", key: key)+ let parent = root.appending(path: "Applications", directoryHint: .isDirectory)try FileManager.default.createDirectory(at: parent, withIntermediateDirectories: true)let destination = parent.appending(path: "Bridgeplay.app", directoryHint: .isDirectory)let backup = parent.appending(path: ".Bridgeplay.app.previous", directoryHint: .isDirectory)diff --git a/docs/NATIVE-INSTALLER-VALIDATION.md b/docs/NATIVE-INSTALLER-VALIDATION.mdindex 7cf7751..f9db78e 100644--- a/docs/NATIVE-INSTALLER-VALIDATION.md+++ b/docs/NATIVE-INSTALLER-VALIDATION.md@@ -5,9 +5,15 @@ on upstream `9ada9fe`; this records local evidence, not a maintainer-signed rele| Check | Result ||---|---|-| Standalone debug and release installer builds | Passed using Command Line Tools, Swift 6.2.3 / macOS SDK 26.2 |-| Final local release DMG | 771,820 bytes; below the 5 MiB packaging budget |+| Toolchain | Xcode 27.1, Swift 6.4, macOS SDK 27.0; initial standalone builds also passed with CLT Swift 6.2.3 |+| Full product build | Passed: Dobby, native components, bridge, fonts, payload and code-signed Bridgeplay.app |+| Installer Swift Testing suites | 30 tests in two suites passed, including build resets and read-only prior backups |+| Localization | Main app: 660 strings; installer: 55 strings, translated into Italian and Simplified Chinese |+| Existing Setup Assistant visual comparison | Six reference/candidate snapshots; static content panes match pixel-for-pixel, excluding animated rail and changing free-space value |+| Final local release DMG | 781,225 bytes; below the 5 MiB packaging budget || `codesign --verify --strict --deep` on installer app | Passed (ad hoc local signature) |+| CI check targets | All 30 targets passed across the full run and the corrected localization rerun; initial full-run failure was limited to localization target scoping |+| Full app Swift tests | 699 tests in 79 suites passed; opt-in real-keychain, mock-endpoint, real-prefix rebuild, GPTK-import and snapshot tests were skipped by their defaults || `make scriptcheck runcheck` | Passed with ShellCheck 0.11.0; 41 shell scripts || `make native-installercheck` | Passed: signed fixtures, install/update detection, save/config preservation, rejected inputs, lock, rollback, recovery; eight cleanup-identification checks || Build ordering after public version reset | Passed: a higher build with a lower 0.x public version remains eligible and installs |@@ -16,7 +22,8 @@ on upstream `9ada9fe`; this records local evidence, not a maintainer-signed rele| Already-current wizard | Current signed 3.5.0 fixture detected; no reinstall requested || Mounted-DMG completion | Finish with Open disabled ejected the disposable source image and moved that exact DMG to Trash; verified both outcomes || Packaged resources and translations | App rendered en, it and zh-Hans with development resource bundles unavailable; all 55 source strings have translations |-| Independent source review | Four material issues found and fixed: cross-user lock access, offline recovery, cleanup working directory and shared initializer visibility |+| Release dry-run | Completed with no publication and an ephemeral signing key; DMG included as a release asset, while the appcast contains only Bridgeplay.zip |+| Independent source review | Four material issues found and fixed: cross-user lock access, offline recovery, cleanup working directory and shared initializer visibility; a subsequent review also caught and resolved read-only backup rotation |The mounted-image test started the executable with its working directory on that image.The cleanup helper moved to an external working directory before waiting for exit, so it@@ -25,13 +32,6 @@ Steam, prefixes, saves and user configuration were not deployed to or modified.## Remaining gates-Xcode 27.1 was subsequently installed, but its license is not yet accepted. The official-build attempt stops at prerequisites (`cmake`, Homebrew `bison`, and Xcode tools unavailable-until license acceptance). Homebrew also refuses further dependency installation at this-gate. The prior CLT app-test attempt could not load the `Testing` module, so the Swift-Testing suites are authored but are not counted as passing. The full product build and-existing app snapshot comparison must run with the supported Xcode toolchain.-Public-distribution verification still requires a maintainer signing decision and an actualquarantined/browser-downloaded launch, including App Translocation and Downloads access.The local ad hoc build is not notarized. Installer flock serializes installers, while the@@ -43,5 +43,5 @@ are made from bootstrap tests.Local DMG SHA-256 at the recorded size:```text-64cda3ee3f8e206445e90a9ff735aaee558df963d206aa8bc68eef44c6d09faa+b673af3fdb9a2827ffdfa94e99526921a09feb989e57005d68d5512291fa99ea```diff --git a/docs/NATIVE-INSTALLER.md b/docs/NATIVE-INSTALLER.mdindex 9a936eb..a979d0a 100644--- a/docs/NATIVE-INSTALLER.md+++ b/docs/NATIVE-INSTALLER.md@@ -19,6 +19,9 @@ signing identity. The default size budget is 5 MiB; a larger artifact fails pack`BRIDGEPLAY_INSTALLER_MAX_BYTES` can override the budget for a deliberate size review.CI also packages the DMG as a build artifact and runs `native-installercheck`.+The maintainer release script attaches the DMG to each app release after generating the+product appcast, so it never becomes a Sparkle update for the product. Its dry run builds+an ad hoc DMG without reading signing identities from the keychain.The bootstrap can be built separately from the full app/Wine toolchain. Follow[BUILD-LOCAL.md](BUILD-LOCAL.md) for the product build, which still requires Xcode.Creating an ad hoc DMG does not provide Developer ID signing or notarization. Test a@@ -36,7 +39,10 @@ The installer stages on the destination volume, coordinates through a persistentrefuses an active Bridgeplay/updater process, and keeps the prior app in the hidden`.Bridgeplay.app.previous` sibling for recovery. An interrupted replacement is recoveredlocally before release discovery, including when the network is unavailable. Unexpected-backup contents are preserved and reported instead of deleted.+backup contents are preserved and reported instead of deleted. An older recovery bundle is+rotated by rename before replacement. Retired copies owned by another account or containing+read-only directories stay intact as `.Bridgeplay.app.previous-<UUID>` siblings; an+administrator can remove them in Finder. They do not block subsequent updates.Prefixes, saves, Steam libraries, support folders and user configuration are not rewrittenby the bootstrap. Opening the installed app continues its existing Setup Assistant ordiff --git a/docs/RELEASING.md b/docs/RELEASING.mdindex ea0b9de..76f4abf 100644--- a/docs/RELEASING.md+++ b/docs/RELEASING.md@@ -1,7 +1,7 @@# Releasing Bridgeplay-Every release is a GitHub release of `raymondchins/Bridgeplay` carrying `Bridgeplay.zip` and-`appcast.xml`. The one-click `Bridgeplay-Installer.zip` lives on its own prerelease, tag+Every release is a GitHub release of `raymondchins/Bridgeplay` carrying `Bridgeplay.zip`,+`appcast.xml` and the small native `Bridgeplay-Installer.dmg` bootstrap. The one-click `Bridgeplay-Installer.zip` lives on its own prerelease, tag`installer` (bridgeplay.dev/download redirects to`releases/download/installer/Bridgeplay-Installer.zip`). It carries no app: `Install.command`downloads the Latest release's `Bridgeplay.zip` when it runs, so `release-local.sh` uploads@@ -51,14 +51,17 @@ a newer install and leaves it alone. `VersioningTests` guards both.````scripts/sync-upstream.sh` already bumps the patch after an upstream merge.2. Push to `main` of `raymondchins/Bridgeplay` (the script refuses anything else).-3. Optionally rehearse: `scripts/release-local.sh --dry-run` writes the zip and appcast to+3. Optionally rehearse: `scripts/release-local.sh --dry-run` writes the zip, appcast and+ an ad hoc native installer DMG to`out/release/` from an app already built with `make app`, without publishing or readingthe keychain.4. Release: `scripts/release-local.sh` (notes default to the commit subjects since theprevious `vX.Y.Z` release; pass a string to override). It builds with`scripts/build-local.sh --checks`, signs the app with the `Bridgeplay Release` identity(see Signing), signs the zip with the EdDSA key in the login keychain, writes an appcast with `minimumSystemVersion` 26.0, packages the installer from the- same app (`scripts/package-installer.sh`) and publishes `vX.Y.Z` as Latest with all three.+ same app (`scripts/package-installer.sh`). It also builds the native DMG with the same+ release identity and attaches it beside the product ZIP and appcast on `vX.Y.Z` Latest.+ The existing bundled installer ZIP remains on the separate `installer` tag.Any other release in the repository (a DXMT build, say) must be created with`--latest=false`, or the feed URL stops serving `appcast.xml` until the next app release.diff --git a/dylib/tests/l10ncheck.py b/dylib/tests/l10ncheck.pyindex a38438a..5d07f8e 100644--- a/dylib/tests/l10ncheck.py+++ b/dylib/tests/l10ncheck.py@@ -1,5 +1,4 @@import json-import osimport pathlibimport reimport shutil@@ -9,12 +8,14 @@ import tempfilecatalog, intermediates = pathlib.Path(sys.argv[1]), pathlib.Path(sys.argv[2])languages = sys.argv[3:]+source_root = catalog.resolve().parents[2]datas = []for path in sorted(intermediates.rglob("*.stringsdata")):if "BridgeplayAppTests" in path.parts:continue- if os.path.exists(json.loads(path.read_text())["source"]):+ source = pathlib.Path(json.loads(path.read_text())["source"])+ if source.exists() and source.resolve().is_relative_to(source_root):datas.append(str(path))if not datas:sys.exit(f"l10ncheck: no .stringsdata under {intermediates}, build the app first")diff --git a/scripts/release-local.sh b/scripts/release-local.shindex b6d5ef3..565abb5 100755--- a/scripts/release-local.sh+++ b/scripts/release-local.sh@@ -238,11 +238,20 @@ feed "$out/bridgeplay" Bridgeplay.zip Bridgeplay.app "$slug"# installs over /Applications/NotProton.app; later updates match by bundle identifier.[ "$legacy" -eq 0 ] || feed "$out/legacy" NotProton.zip NotProton.app "$legacy_slug"+# Add the bootstrap after appcast generation so Sparkle only indexes the product archive.+if [ "$dry_run" -eq 1 ]; then+ BRIDGEPLAY_SIGN_IDENTITY=- scripts/package-native-installer.sh+else+ scripts/package-native-installer.sh+fi+cp out/Bridgeplay-Installer.dmg "$out/bridgeplay/Bridgeplay-Installer.dmg"+title="Bridgeplay $version"body=$(printf '%s\n\nBuild %s, based on NotProton %s.\n' "$notes" "$build" "$upstream")echo "==> $title (build $build), notes since ${previous:-the beginning}:"printf '%s\n' "$notes" | sed 's/^/ /'run gh release create "$tag" "$out/bridgeplay/Bridgeplay.zip" "$out/bridgeplay/appcast.xml" \+ "$out/bridgeplay/Bridgeplay-Installer.dmg" \-R "$slug" --target "$(git rev-parse HEAD)" --title "$title" --notes "$body" --latestif [ "$legacy" -eq 1 ]; then# Only a carrier for the feed: the tag goes on that repository's default branch, since