diff --git a/Installer/Installer.iss b/Installer/Installer.iss
index 3ba8794..ea75481 100644
--- a/Installer/Installer.iss
+++ b/Installer/Installer.iss
@@ -5,7 +5,7 @@
#define MyAppPublisher "ThreadPilot"
#define MyAppURL "https://github.com/"
#define MyAppExeName "ThreadPilot.exe"
-#define MyAppVersion "1.7.8-beta.1"
+#define MyAppVersion "1.7.8-beta.2"
#ifndef MyWizardStyle
#define MyWizardStyle "modern dynamic windows11"
diff --git a/Installer/setup.iss b/Installer/setup.iss
index d848bb7..82f415c 100644
--- a/Installer/setup.iss
+++ b/Installer/setup.iss
@@ -11,7 +11,7 @@
#endif
#ifndef MyAppVersion
- #define MyAppVersion "1.7.8-beta.1"
+ #define MyAppVersion "1.7.8-beta.2"
#endif
#ifndef MyAppSourceDir
diff --git a/README.md b/README.md
index 6d702fa..1d60124 100644
--- a/README.md
+++ b/README.md
@@ -89,9 +89,9 @@ choco upgrade threadpilot
### Download from GitHub Releases
[](https://github.com/PrimeBuild-pc/ThreadPilot/releases/latest)
-[](https://github.com/PrimeBuild-pc/ThreadPilot/releases/tag/v1.7.8-beta.1)
+[](https://github.com/PrimeBuild-pc/ThreadPilot/releases/tag/v1.7.8-beta.2)
-**Stable v1.7.7 does not include Game Boost.** The **v1.7.8-beta.1 pre-release** includes it for volunteers and early adopters; see its [test steps and issue-reporting checklist](docs/releases/v1.7.8-beta.1.md). Preview downloads are manual and do not replace the stable update channel.
+**Stable v1.7.7 does not include Game Boost.** The **v1.7.8-beta.2 pre-release** includes it for volunteers and early adopters; see its [test steps and issue-reporting checklist](docs/releases/v1.7.8-beta.2.md). Preview downloads are manual and do not replace the stable update channel.
Both channels use the same application/settings location. Export a configuration backup before switching; they are not separate side-by-side installations.
diff --git a/Tests/ThreadPilot.Core.Tests/PackagingMetadataTests.cs b/Tests/ThreadPilot.Core.Tests/PackagingMetadataTests.cs
index 28c9ce6..c2daf20 100644
--- a/Tests/ThreadPilot.Core.Tests/PackagingMetadataTests.cs
+++ b/Tests/ThreadPilot.Core.Tests/PackagingMetadataTests.cs
@@ -4,7 +4,7 @@ namespace ThreadPilot.Core.Tests
public sealed partial class PackagingMetadataTests
{
- private const string ReleaseVersion = "1.7.8-beta.1";
+ private const string ReleaseVersion = "1.7.8-beta.2";
private const string ReleaseAssemblyVersion = "1.7.8.0";
[Fact]
@@ -160,7 +160,7 @@ namespace ThreadPilot.Core.Tests
throw new InvalidOperationException("Repository root could not be located.");
}
- [GeneratedRegex("#define MyAppVersion \"1\\.7\\.8-beta\\.1\"", RegexOptions.CultureInvariant)]
+ [GeneratedRegex("#define MyAppVersion \"1\\.7\\.8-beta\\.2\"", RegexOptions.CultureInvariant)]
private static partial Regex MyAppVersionRegex();
}
}
diff --git a/ThreadPilot.csproj b/ThreadPilot.csproj
index 5e290db..a164631 100644
--- a/ThreadPilot.csproj
+++ b/ThreadPilot.csproj
@@ -23,10 +23,10 @@
copies text, and an elevated process should not deserialize data another program can put there. -->
false
CS1998;CS0067;CS0414;WFAC010;IL3000;MVVMTK0034
- 1.7.8-beta.1
+ 1.7.8-beta.2
1.7.8.0
1.7.8.0
- 1.7.8-beta.1
+ 1.7.8-beta.2
diff --git a/build/build-installer.ps1 b/build/build-installer.ps1
index ffd57df..5d8d474 100644
--- a/build/build-installer.ps1
+++ b/build/build-installer.ps1
@@ -1,5 +1,5 @@
param(
- [string]$Version = "1.7.8-beta.1",
+ [string]$Version = "1.7.8-beta.2",
[string]$Configuration = "Release",
[switch]$SkipPublish
)
diff --git a/build/build-release.ps1 b/build/build-release.ps1
index 0c3b8af..0056b03 100644
--- a/build/build-release.ps1
+++ b/build/build-release.ps1
@@ -1,5 +1,5 @@
param(
- [string]$Version = "1.7.8-beta.1",
+ [string]$Version = "1.7.8-beta.2",
[string]$Configuration = "Release",
[string]$Runtime = "win-x64"
)
diff --git a/build/package-release-zips.ps1 b/build/package-release-zips.ps1
index 78cfe23..65e8ae4 100644
--- a/build/package-release-zips.ps1
+++ b/build/package-release-zips.ps1
@@ -1,5 +1,5 @@
param(
- [string]$Version = "1.7.8-beta.1"
+ [string]$Version = "1.7.8-beta.2"
)
$ErrorActionPreference = "Stop"
diff --git a/chocolatey/threadpilot.nuspec b/chocolatey/threadpilot.nuspec
index f9d28e4..7101d59 100644
--- a/chocolatey/threadpilot.nuspec
+++ b/chocolatey/threadpilot.nuspec
@@ -2,7 +2,7 @@
threadpilot
- 1.7.8-beta.1
+ 1.7.8-beta.2
ThreadPilot
Prime Build
https://github.com/PrimeBuild-pc/ThreadPilot
@@ -15,7 +15,7 @@
false
Advanced Windows process and power plan manager with rules automation and performance controls.
ThreadPilot process and power plan manager.
- https://github.com/PrimeBuild-pc/ThreadPilot/releases/tag/v1.7.8-beta.1
+ https://github.com/PrimeBuild-pc/ThreadPilot/releases/tag/v1.7.8-beta.2
threadpilot process powerplan performance windows
diff --git a/docs/release/RELEASE_NOTES.md b/docs/release/RELEASE_NOTES.md
index a1d78e4..71fb340 100644
--- a/docs/release/RELEASE_NOTES.md
+++ b/docs/release/RELEASE_NOTES.md
@@ -1,3 +1,9 @@
+## ThreadPilot v1.7.8-beta.2
+
+Pre-release on top of v1.7.8-beta.1: a full security and performance audit (window-open CPU ~25–30% → ~2.3% of a core, near-zero in the tray), Game Boost orchestration with a minimal-rights game handle, an installer that always installs in Program Files, and portable copies that can install themselves for autostart. Dual-CCD Ryzen and Intel hybrid testers wanted.
+
+[Full notes, performance table and tester checklist](../releases/v1.7.8-beta.2.md). v1.7.7 remains stable/latest. No winget/Chocolatey beta publication; artifacts unsigned.
+
## ThreadPilot v1.7.8-beta.1
Pre-release with the complete local Game Boost implementation, Activity diagnostics and CPU topology fixes, on top of stable v1.7.7. Real dual-CCD Ryzen/X3D, Intel hybrid, benchmark and anti-cheat validation remain pending.
diff --git a/docs/releases/v1.7.8-beta.2.md b/docs/releases/v1.7.8-beta.2.md
new file mode 100644
index 0000000..dc9e729
--- /dev/null
+++ b/docs/releases/v1.7.8-beta.2.md
@@ -0,0 +1,73 @@
+# ThreadPilot v1.7.8-beta.2 — Game Boost orchestration, security hardening and a much lighter app
+
+**Pre-release, not stable.** This preview contains everything in v1.7.8-beta.1 plus a full security and performance audit, smarter Game Boost and installer changes. The stable/latest release remains **v1.7.7**; this beta is not published to winget, Chocolatey or the stable automatic-update channel. Export a configuration backup before switching channels.
+
+## Performance: before and after
+
+Measured on the Release build, Ryzen 7 5800X3D, Processes page open, ~200 running processes. "% of a core" = CPU time of ThreadPilot divided by wall time.
+
+| | before | after |
+|---|---|---|
+| window open, idle | ~25–30% of a core | ~2.3% of a core |
+| minimized to tray | ~2% of a core | 0 ms of CPU in 90 s (0–0.03%) |
+| wake-ups in tray (context switches/s) | ~275 | 0–10 |
+| startup CPU (first 15–20 s) | ~8.4–9.9 s | ~6.0 s |
+| main window appears | ~1.3 s | ~1.3 s |
+| during a game, Game Boost in Isolation (tray) | ~0.42–0.62% of a core | ~0.10–0.15% of a core |
+| restore after the game closes | ~1.4–3 s | ~0.05–0.1 s |
+| private memory, steady state | ~225 MB | ~220–230 MB (unchanged: ~145 MB is WPF and native drivers) |
+
+Where it came from: the startup spinner no longer animates forever behind the hidden overlay, the process list is updated in place instead of rebuilt every 5 s, startup does less work and no fixed waits, dynamic PGO is off (it recompiled hot code in the background for seconds after launch), and Game Boost only runs a timer while it is on.
+
+## Security
+
+- **Elevated tasks only for Program Files installs.** The no-UAC scheduled tasks are registered only when ThreadPilot runs from Program Files, where a normal program cannot replace the exe. Tasks that point anywhere else are deleted at every elevated start.
+- **No native DLLs extracted to %TEMP%.** The WPF native libraries now ship next to `ThreadPilot.exe` instead of being unpacked into a user-writable folder and loaded by the admin process.
+- **Admin-only temp folders** for the scheduled-task definition and the downloaded update installer (random name under `%SystemRoot%\Temp`, Administrators and SYSTEM only). Leftover update folders are cleaned at startup.
+- **Updates require a trusted `SHA256SUMS.txt`.** The updater refuses a release whose checksum file is missing or not hosted on GitHub, before downloading anything.
+- **Saved rules respect protected processes** for every action (CPU Sets, memory/I/O priority, EcoQoS), not only affinity. Driver-tweak restores accept only the tweak's own on/off values.
+- **Installer hardening:** when it moves an old install out of another folder it deletes nothing if that folder (or any folder above it) is a junction or symbolic link.
+- Smaller fixes: `explorer.exe` launched by full path, DLL search limited to System32, BinaryFormatter disabled, registry CPU priority now writes the correct `PerfOptions` key.
+- Release pipeline: GitHub Actions pinned to commit SHAs, write access only for the release job, publishing behind a protected environment with a required reviewer.
+
+## Game Boost
+
+- **Orchestration (beyond CPU Sets):** the game gets high QoS (Windows does not throttle it when it is not in front), on any CPU. In **Isolation**, listed background apps get EcoQoS (on Intel hybrid Windows moves them to E-cores by itself). If the game uses ≥ 80% of its confined cores for ~12 s, its CPU Set is lifted and Windows may use every core; after ~60 s of low load it is confined again (at most twice per session). User rules and an app's own QoS choice always win.
+- **The game handle:** ThreadPilot now keeps the game open for the session with a minimal-rights handle (`SYNCHRONIZE | PROCESS_QUERY_LIMITED_INFORMATION`, not full access, which is what anti-cheats look for). The session ends the moment the game exits, so restoring takes ~0.05–0.1 s instead of up to 3 s, and a reused process ID can never be mistaken for the game. If a game refuses even that handle, ThreadPilot falls back to polling.
+- The 15-second background rescan only builds process details for names in your lists.
+- Fixed: changing a Game Boost setting during a session no longer drops the game's Above Normal priority.
+- Fixed: EcoQoS changes no longer wipe other power-throttling flags a process set for itself (e.g. timer resolution).
+
+## Installer and portable
+
+- **The installer always installs in Program Files.** It no longer asks for a folder. An existing install in another folder (e.g. `D:\Apps\ThreadPilot`) is moved: the new version goes to Program Files and only ThreadPilot's own program files are removed from the old folder. Settings, rules and your other files there are kept; the old uninstaller is not run (it would delete your settings).
+- **A portable copy can install itself for autostart.** Turning on "Start with Windows" in a portable copy offers to download, verify (SHA256) and install the official version in Program Files; ThreadPilot then restarts from there with autostart on. It never installs an older version. On a preview build, turn on **Include prerelease updates** first, otherwise only the older stable release is found (the app now tells you).
+- **Update a portable copy by replacing the whole folder,** not only `ThreadPilot.exe`: the native DLLs now live next to the exe.
+
+## Other fixes
+
+- Processes page: the table is as wide as its columns and the details panel takes the free space (Priority and CPU cores side by side on wide windows); the narrow layout is unchanged.
+- The main window reopens maximized if it was closed maximized.
+- "Reset process changes on exit" works again: it ran after the process monitor had already forgotten what it changed.
+- In-app updates close ThreadPilot through the normal shutdown, so Game Boost and power-plan changes are restored before the installer runs.
+- A leftover autostart entry from very old versions no longer hides that autostart is off.
+- Update checks order prereleases correctly (beta.10 is newer than beta.9).
+
+## Testers wanted: dual-CCD Ryzen and Intel hybrid
+
+Game Boost's core split and the new dynamic release only act where the game is confined: **AMD dual-CCD** (7900X3D / 7950X3D / 9900X3D / 9950X3D, and 7950X / 9950X in Isolation) and **Intel hybrid** (12th–14th gen, Core Ultra). We have tested them only with unit tests and a simulated topology, so reports from real hardware are the most useful thing you can send.
+
+Please use the [quick test from beta.1](https://github.com/PrimeBuild-pc/ThreadPilot/blob/main/docs/releases/v1.7.8-beta.1.md#quick-test) and also note:
+
+- whether the CPU Set is lifted during heavy scenes (Activity shows it) and whether that helps or hurts frame times;
+- Isolation with and without a browser video or Steam download in the background;
+- on Intel, a heavily multithreaded game;
+- any anti-cheat refusal (ThreadPilot never bypasses process protection).
+
+Open an [issue](https://github.com/PrimeBuild-pc/ThreadPilot/issues) titled **[1.7.8-beta.2][Game Boost] CPU model — result/problem** with CPU, SMT state, Windows build, chipset driver, game, mode, Activity entries and, if you can, CapFrameX/PresentMon captures (at least three runs per scenario).
+
+## Known limits
+
+- An old install in another folder that is still running from the tray during the upgrade keeps its exe there; close it and delete the old folder by hand. The new version removes any elevated task that points to it.
+- Artifacts are **unsigned** while code-signing enrollment is pending. SmartScreen may warn; verify the SHA256 checksums.
+- Upgrades preserve settings; uninstalling removes ThreadPilot-owned user data.
diff --git a/sonar-project.properties b/sonar-project.properties
index 82b9cfd..e7b1f46 100644
--- a/sonar-project.properties
+++ b/sonar-project.properties
@@ -1,6 +1,6 @@
sonar.projectKey=threadpilot
sonar.projectName=ThreadPilot
-sonar.projectVersion=1.7.8-beta.1
+sonar.projectVersion=1.7.8-beta.2
sonar.sourceEncoding=UTF-8
sonar.sources=.