Skip to content

Commit 40fe057

Browse files
committed
chore: final repository cleanup and release packaging for v1.1.0
1 parent 3dcec45 commit 40fe057

17 files changed

Lines changed: 168 additions & 691 deletions

β€ŽLICENSE.mdβ€Ž

Lines changed: 0 additions & 661 deletions
This file was deleted.

β€ŽREADME.mdβ€Ž

Lines changed: 16 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -28,36 +28,28 @@ The project targets users who need Process Lasso style capabilities in a modern
2828
- .NET 8 SDK for source builds.
2929
- Administrator privileges for advanced process and power operations.
3030

31-
## Installation
32-
33-
### Prebuilt Release
34-
1. Download the latest package from Releases.
35-
2. Extract the archive.
36-
3. Start ThreadPilot as Administrator for full functionality.
37-
38-
## Download and Installation
31+
## Download
3932

4033
Latest artifacts are published on each tagged release in [GitHub Releases](https://github.com/PrimeBuild-pc/ThreadPilot/releases).
4134

42-
| Artifact | File pattern | Recommended use |
35+
| Package | File name | Recommended use |
4336
|---|---|---|
44-
| Single-file portable | `ThreadPilot_<version>_singlefile_win-x64.zip` | Fast portable deployment with one main executable |
45-
| ReadyToRun package | `ThreadPilot_<version>_readytorun_win-x64.zip` | Folder-based deployment with faster startup |
46-
| MSIX package | `ThreadPilot_<version>_win-x64.msix` | Managed Windows installation and clean uninstall |
47-
| Checksum manifest | `SHA256SUMS.txt` | Verify release integrity before installation |
37+
| Portable | `ThreadPilot_v1.1.0_Portable.zip` | Single-file executable package for fast portable deployment |
38+
| Installer | `ThreadPilot_v1.1.0_Installer.zip` | MSIX-first package with fallback manual uninstall assets |
4839

4940
Verification example:
5041

5142
```powershell
52-
Get-FileHash .\ThreadPilot_1.1.0_singlefile_win-x64.zip -Algorithm SHA256
43+
Get-FileHash .\ThreadPilot_v1.1.0_Portable.zip -Algorithm SHA256
5344
```
5445

5546
Install flow summary:
5647

57-
1. Download the artifact matching your deployment model.
58-
2. Verify the SHA-256 hash against `SHA256SUMS.txt`.
59-
3. For ZIP artifacts, extract and run `ThreadPilot.exe`.
60-
4. For MSIX/AppX artifacts, install with `Add-AppxPackage` or by double-clicking.
48+
1. Download the package matching your deployment model.
49+
2. Extract the ZIP and open the `ThreadPilot` folder.
50+
3. Portable package: launch `ThreadPilot.exe`.
51+
4. Installer package: install `ThreadPilot_1.1.0_win-x64.msix` with `Add-AppxPackage` or by double-clicking.
52+
5. Use `uninstall.bat` for cleanup when needed.
6153

6254
### Build from Source
6355

@@ -105,11 +97,12 @@ Build release artifacts via script:
10597

10698
- docs/README.md
10799
- docs/RELEASE_SIGNING.md
108-
- ARCHITECTURE_GUIDE.md
109-
- API_REFERENCE.md
110-
- DEVELOPER_GUIDE.md
111-
- PROJECT_STRUCTURE.md
112-
- UI_STYLE_GUIDE.md
100+
- docs/reference/ARCHITECTURE_GUIDE.md
101+
- docs/reference/API_REFERENCE.md
102+
- docs/reference/DEVELOPER_GUIDE.md
103+
- docs/reference/PROJECT_STRUCTURE.md
104+
- docs/reference/UI_STYLE_GUIDE.md
105+
- docs/release/PACKAGING.md
113106

114107
## Contributing
115108

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
ThreadPilot Installer Package (v1.1.0)
2+
3+
Contents:
4+
- ThreadPilot_1.1.0_win-x64.msix
5+
- uninstall.bat
6+
- LICENSE
7+
8+
Installation:
9+
1. Install ThreadPilot_1.1.0_win-x64.msix (double-click or Add-AppxPackage).
10+
2. Launch ThreadPilot from the Start menu.
11+
12+
Uninstallation:
13+
1. Run uninstall.bat for full cleanup (services, tasks, folders, registry, firewall).
14+
2. You can preview actions first with "uninstall.bat /dry-run".
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
ThreadPilot Portable Package (v1.1.0)
2+
3+
Contents:
4+
- ThreadPilot.exe
5+
- uninstall.bat
6+
- LICENSE
7+
8+
Usage:
9+
1. Run ThreadPilot.exe.
10+
2. For full functionality, run with Administrator privileges.
11+
3. To remove all data and integrations, run uninstall.bat.
12+
13+
Tip:
14+
Use "uninstall.bat /dry-run" to preview cleanup operations.

β€Žassets/release/uninstall.batβ€Ž

Lines changed: 115 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
1+
@echo off
2+
setlocal EnableExtensions
3+
4+
set "DRYRUN=0"
5+
if /I "%~1"=="/dry-run" set "DRYRUN=1"
6+
if /I "%~1"=="--dry-run" set "DRYRUN=1"
7+
8+
set "FAILURES=0"
9+
10+
echo ======================================================
11+
echo ThreadPilot Uninstall Utility
12+
echo ======================================================
13+
echo.
14+
15+
if "%DRYRUN%"=="1" (
16+
echo Running in DRY-RUN mode. No changes will be made.
17+
echo.
18+
) else (
19+
set /p CONFIRM=Proceed with uninstall? [Y/N]:
20+
if /I not "%CONFIRM%"=="Y" (
21+
echo Uninstall cancelled.
22+
goto :finish
23+
)
24+
)
25+
26+
echo [STEP] Remove ThreadPilot services
27+
if "%DRYRUN%"=="1" (
28+
echo [DRY-RUN] Would stop and delete services matching ThreadPilot*
29+
) else (
30+
powershell -NoProfile -ExecutionPolicy Bypass -Command "Get-Service -ErrorAction SilentlyContinue | Where-Object { $_.Name -like 'ThreadPilot*' -or $_.DisplayName -like 'ThreadPilot*' } | ForEach-Object { try { if ($_.Status -ne 'Stopped') { Stop-Service -Name $_.Name -Force -ErrorAction SilentlyContinue }; sc.exe delete $_.Name | Out-Null } catch { } }" >nul 2>&1
31+
if errorlevel 1 (
32+
set /a FAILURES+=1
33+
echo [WARN] Service cleanup reported errors
34+
) else (
35+
echo [OK] Service cleanup complete
36+
)
37+
)
38+
39+
echo [STEP] Remove scheduled tasks
40+
if "%DRYRUN%"=="1" (
41+
echo [DRY-RUN] Would remove scheduled tasks matching ThreadPilot*
42+
) else (
43+
powershell -NoProfile -ExecutionPolicy Bypass -Command "Get-ScheduledTask -TaskName 'ThreadPilot*' -ErrorAction SilentlyContinue | Unregister-ScheduledTask -Confirm:$false -ErrorAction SilentlyContinue" >nul 2>&1
44+
schtasks /Delete /TN "ThreadPilot_Startup" /F >nul 2>&1
45+
echo [OK] Scheduled task cleanup complete
46+
)
47+
48+
echo [STEP] Remove autorun and application registry keys
49+
if "%DRYRUN%"=="1" (
50+
echo [DRY-RUN] Would remove HKCU and HKLM ThreadPilot registry keys
51+
) else (
52+
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Run" /v "ThreadPilot" /f >nul 2>&1
53+
reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\Run" /v "ThreadPilot" /f >nul 2>&1
54+
reg delete "HKCU\Software\ThreadPilot" /f >nul 2>&1
55+
reg delete "HKLM\Software\ThreadPilot" /f >nul 2>&1
56+
reg delete "HKLM\Software\WOW6432Node\ThreadPilot" /f >nul 2>&1
57+
echo [OK] Registry cleanup complete
58+
)
59+
60+
echo [STEP] Remove Windows Firewall rules
61+
if "%DRYRUN%"=="1" (
62+
echo [DRY-RUN] Would remove firewall rules named ThreadPilot and ThreadPilot*
63+
) else (
64+
netsh advfirewall firewall delete rule name="ThreadPilot" >nul 2>&1
65+
netsh advfirewall firewall delete rule name="ThreadPilot*" >nul 2>&1
66+
echo [OK] Firewall cleanup complete
67+
)
68+
69+
echo [STEP] Remove MSIX installations
70+
if "%DRYRUN%"=="1" (
71+
echo [DRY-RUN] Would remove installed and provisioned ThreadPilot MSIX packages
72+
) else (
73+
powershell -NoProfile -ExecutionPolicy Bypass -Command "Get-AppxPackage -AllUsers *ThreadPilot* -ErrorAction SilentlyContinue | ForEach-Object { Remove-AppxPackage -Package $_.PackageFullName -AllUsers -ErrorAction SilentlyContinue }" >nul 2>&1
74+
powershell -NoProfile -ExecutionPolicy Bypass -Command "Get-AppxProvisionedPackage -Online -ErrorAction SilentlyContinue | Where-Object { $_.DisplayName -like '*ThreadPilot*' } | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName -ErrorAction SilentlyContinue | Out-Null }" >nul 2>&1
75+
echo [OK] MSIX cleanup complete
76+
)
77+
78+
echo [STEP] Remove residual folders
79+
if "%DRYRUN%"=="1" (
80+
echo [DRY-RUN] Would remove AppData, LocalAppData, ProgramData, and Program Files folders
81+
) else (
82+
rd /s /q "%APPDATA%\ThreadPilot" >nul 2>&1
83+
rd /s /q "%LOCALAPPDATA%\ThreadPilot" >nul 2>&1
84+
rd /s /q "%PROGRAMDATA%\ThreadPilot" >nul 2>&1
85+
rd /s /q "%ProgramFiles%\ThreadPilot" >nul 2>&1
86+
rd /s /q "%ProgramFiles(x86)%\ThreadPilot" >nul 2>&1
87+
for /d %%D in ("%LOCALAPPDATA%\Packages\PrimeBuild.ThreadPilot*") do rd /s /q "%%~fD" >nul 2>&1
88+
echo [OK] Residual folder cleanup complete
89+
)
90+
91+
echo [STEP] Remove shortcuts
92+
if "%DRYRUN%"=="1" (
93+
echo [DRY-RUN] Would remove Start Menu and Desktop shortcuts
94+
) else (
95+
del /f /q "%APPDATA%\Microsoft\Windows\Start Menu\Programs\ThreadPilot.lnk" >nul 2>&1
96+
del /f /q "%PUBLIC%\Desktop\ThreadPilot.lnk" >nul 2>&1
97+
del /f /q "%USERPROFILE%\Desktop\ThreadPilot.lnk" >nul 2>&1
98+
echo [OK] Shortcut cleanup complete
99+
)
100+
101+
echo.
102+
if "%FAILURES%"=="0" (
103+
echo Uninstall completed successfully.
104+
) else (
105+
echo Uninstall completed with %FAILURES% warning^(s^). Review output above.
106+
)
107+
echo ThreadPilot uninstall routine has finished.
108+
echo.
109+
110+
:finish
111+
if "%DRYRUN%"=="1" goto :exit
112+
pause
113+
114+
:exit
115+
exit /b 0

β€Ždocs/README.mdβ€Ž

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,21 @@
33
This folder contains release and engineering documentation for ThreadPilot.
44

55
## Core Documents
6-
- Architecture: ../ARCHITECTURE_GUIDE.md
7-
- API reference: ../API_REFERENCE.md
8-
- Developer guide: ../DEVELOPER_GUIDE.md
9-
- Project structure: ../PROJECT_STRUCTURE.md
10-
- UI style guide: ../UI_STYLE_GUIDE.md
11-
- Advanced CPU features: ../ADVANCED_CPU_FEATURES.md
12-
- Game boost validation: ../GAME_BOOST_VALIDATION.md
6+
- Architecture: reference/ARCHITECTURE_GUIDE.md
7+
- API reference: reference/API_REFERENCE.md
8+
- Developer guide: reference/DEVELOPER_GUIDE.md
9+
- Project structure: reference/PROJECT_STRUCTURE.md
10+
- UI style guide: reference/UI_STYLE_GUIDE.md
11+
- Advanced CPU features: reference/ADVANCED_CPU_FEATURES.md
12+
- Game boost validation: reference/GAME_BOOST_VALIDATION.md
13+
- Packaging guide: release/PACKAGING.md
1314

1415
## Release and Governance
1516
- Security policy: ../SECURITY.md
1617
- Contributing: ../CONTRIBUTING.md
1718
- Code of Conduct: ../CODE_OF_CONDUCT.md
1819
- Changelog: ../CHANGELOG.md
20+
- Compliance audit: audits/COMPLIANCE_AUDIT.md
1921

2022
## Migration Note
2123
Repository documentation is being progressively consolidated under docs/ as part of the v1.1.0 enterprise hardening cycle.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
Β (0)