Fix v1.3.1 localization and installer cleanup (#26)
## Summary Fixes the incomplete Simplified Chinese localization shipped in v1.3.0 and prepares v1.3.1. ## Changes - Completed zh-CN localization coverage across the main UI. - Added/updated localization keys for primary views, tray/status text, notifications, and settings. - Kept en-US as the default language. - Updated version metadata to 1.3.1. - Changed installer display name to ThreadPilot while keeping version metadata separate. - Added guarded cleanup for obsolete ThreadPilot 0.1.0-beta uninstall entry. - Improved uninstall cleanup for ThreadPilot AppData, startup task, and HKCU Run entry. - Added localization and packaging metadata tests. ## Validation - dotnet build ThreadPilot_1.sln: passed, 0 warnings - dotnet test ThreadPilot_1.sln: passed, 524 tests ## Safety - No change to elevation behavior. - No change to affinity/process control behavior. - No change to power plan or system tweak behavior. - Normal install/update preserves user settings. - Full uninstall removes ThreadPilot-owned AppData for the uninstalling user.
This commit is contained in:
@@ -161,18 +161,13 @@ jobs:
|
||||
schtasks /Delete /TN "ThreadPilot_Startup" /F >nul 2>&1
|
||||
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Run" /v "ThreadPilot" /f >nul 2>&1
|
||||
|
||||
echo [3/4] Optional user data cleanup...
|
||||
set "REMOVE_DATA=N"
|
||||
set /p REMOVE_DATA=Do you want to remove user settings at "%APPDATA%\ThreadPilot"? [y/N]:
|
||||
if /I "%REMOVE_DATA%"=="Y" (
|
||||
if exist "%APPDATA%\ThreadPilot" (
|
||||
rd /s /q "%APPDATA%\ThreadPilot"
|
||||
echo User settings removed.
|
||||
) else (
|
||||
echo No user settings folder found.
|
||||
)
|
||||
echo [3/4] Removing ThreadPilot user data for this Windows account...
|
||||
rem Full uninstall removes only ThreadPilot-owned per-user AppData. Normal install/update paths never run this script.
|
||||
if exist "%APPDATA%\ThreadPilot" (
|
||||
rd /s /q "%APPDATA%\ThreadPilot"
|
||||
echo ThreadPilot user data removed.
|
||||
) else (
|
||||
echo User settings were kept.
|
||||
echo No ThreadPilot user data folder found.
|
||||
)
|
||||
|
||||
echo [4/4] Scheduling app folder removal...
|
||||
|
||||
Reference in New Issue
Block a user