v0.14.0 — rename PSLauncher.exe → PS_Launcher.exe (with backward compat)
Aligns the executable name with the repo / product naming. Backward-
compatible: existing installs that have PSLauncher.exe on disk continue
to work — the self-updater overwrites the file at the running .exe path
without renaming, so the historical filename persists on those machines.
Changes
- AssemblyName : PSLauncher → PS_Launcher (both App and Updater csproj)
- Inno Setup : MyAppExeName, MyUpdaterExeName, OutputBaseFilename all
now use PS_Launcher prefix
- LauncherSelfUpdater : looks for PS_Launcher.Updater.exe first, falls
back to legacy PSLauncher.Updater.exe so old installs keep updating
- Build scripts (build-launcher / build-updater / build-installer /
build-all) : taskkill both legacy AND new names; output paths printed
with new names
- .gitignore : added PS_Launcher.exe / PS_Launcher.Updater.exe /
PS_Launcher-*.exe patterns alongside the legacy ones; also ignored
the WebView2 user-data folder and Office ~$ lock files
- Server admin/launcher.php : URL pattern now generates
PS_Launcher-{ver}.exe ; SignManifest's existing tolerant glob
*{ver}*.exe still matches both names
- Versions bumped to 0.14.0 (App + Updater + installer .iss)
Migration story for clients
- Brand-new install via PS_Launcher-Setup-0.14.0.exe → PS_Launcher.exe
on disk
- Existing install (PSLauncher.exe) auto-updates to v0.14 → file stays
named PSLauncher.exe but contains v0.14 code; self-updater fallback
ensures future updates keep working
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1,14 +1,16 @@
|
||||
@echo off
|
||||
REM Build de l'updater (PSLauncher.Updater.exe).
|
||||
REM Sortie : C:\ASTERION\GIT\PS_Launcher\PSLauncher.Updater.exe (~34 Mo single-file)
|
||||
REM L'updater accompagne PSLauncher.exe — il doit etre dans le meme dossier.
|
||||
REM Build de l'updater (PS_Launcher.Updater.exe — renomme depuis PSLauncher.Updater.exe en v0.14.0).
|
||||
REM Sortie : C:\ASTERION\GIT\PS_Launcher\PS_Launcher.Updater.exe (~34 Mo single-file)
|
||||
REM L'updater accompagne PS_Launcher.exe — il doit etre dans le meme dossier.
|
||||
|
||||
setlocal
|
||||
set "REPO=%~dp0"
|
||||
echo.
|
||||
echo ==^> Termine les eventuelles instances qui verrouilleraient les .exe
|
||||
taskkill /F /IM PSLauncher.exe /T >nul 2>&1
|
||||
taskkill /F /IM PSLauncher.Updater.exe /T >nul 2>&1
|
||||
taskkill /F /IM PSLauncher.exe /T >nul 2>&1
|
||||
taskkill /F /IM PSLauncher.Updater.exe /T >nul 2>&1
|
||||
taskkill /F /IM PS_Launcher.exe /T >nul 2>&1
|
||||
taskkill /F /IM PS_Launcher.Updater.exe /T >nul 2>&1
|
||||
echo.
|
||||
echo ==^> dotnet publish PSLauncher.Updater (Release single-file)
|
||||
echo.
|
||||
@@ -20,9 +22,9 @@ echo.
|
||||
if %EXITCODE% NEQ 0 (
|
||||
echo [ECHEC] Build de l'updater echoue avec le code %EXITCODE%.
|
||||
) else (
|
||||
echo [OK] PSLauncher.Updater.exe disponible a la racine du repo :
|
||||
echo %REPO%PSLauncher.Updater.exe
|
||||
echo [OK] PS_Launcher.Updater.exe disponible a la racine du repo :
|
||||
echo %REPO%PS_Launcher.Updater.exe
|
||||
)
|
||||
echo.
|
||||
pause
|
||||
endlocal & exit /b %EXITCODE%
|
||||
endlocal ^& exit /b %EXITCODE%
|
||||
|
||||
Reference in New Issue
Block a user