From d4f956dbc5845d7926ee172ef65af8b8cc84b516 Mon Sep 17 00:00:00 2001 From: E-Soda <64815861+eaaasun@users.noreply.github.com> Date: Sat, 23 Sep 2023 18:05:54 -0700 Subject: [PATCH] Update trail button patch --- README.md | 10 +++++----- src/scripts/CCApp.ps1 | 26 +++++++++++++------------- src/scripts/Functions.ps1 | 2 +- 3 files changed, 19 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index 905ae99..b93e35d 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # CCStopper | Release | Latest Version | | -------- | -------- | -| CCStopper | v1.2.3-hotfix.1 | +| CCStopper | v1.2.3-hotfix.2 | | Web Installer | v1.0.1 | ## Table of Contents @@ -48,8 +48,8 @@ - Stop Background Processes - Add to Hosts - System Patches - - Patch Creative Cloud App Buttons - - Lock Genuine Checker Folder + - Patch Trial Buttons + - Remove Genuine Checker - Hide Creative Cloud Folder in Explorer ## v1.2.3 Changelog @@ -68,8 +68,8 @@ - Created logo for shortcut icons (its very original) - Documentation update -### Hotfix.1 Changelog -- Changed the hosts block module to use the non-temp hosts file +### Hotfix.2 Changelog +- Updated trial button patch to work with latest CC update diff --git a/src/scripts/CCApp.ps1 b/src/scripts/CCApp.ps1 index 2d1c6f8..d4416ab 100644 --- a/src/scripts/CCApp.ps1 +++ b/src/scripts/CCApp.ps1 @@ -33,19 +33,19 @@ else { $bytes = [System.IO.File]::ReadAllBytes($AppsPanelBL) - $bytes[1117100] = 0xfe - $bytes[1216993] = 0xfe - $bytes[1987809] = 0xfe - $bytes[2149147] = 0xfe - $bytes[2150572] = 0xfe - $bytes[2151087] = 0xfe - $bytes[2151887] = 0xfe - $bytes[2278457] = 0xc6 - $bytes[2278458] = 0x40 - $bytes[2278467] = 0xc6 - $bytes[2278468] = 0x40 - $bytes[2278477] = 0xc6 - $bytes[2278478] = 0x40 + $bytes[1116554] = 0xfe + $bytes[1216383] = 0xfe + $bytes[1987439] = 0xfe + $bytes[2150557] = 0xfe + $bytes[2151982] = 0xfe + $bytes[2152497] = 0xfe + $bytes[2153297] = 0xfe + $bytes[2279801] = 0xc6 + $bytes[2279802] = 0x40 + $bytes[2279811] = 0xc6 + $bytes[2279812] = 0x40 + $bytes[2279821] = 0xc6 + $bytes[2279822] = 0x40 [System.IO.File]::WriteAllBytes($AppsPanelBL, $bytes) ShowMenu -Back -Subtitles "Patch Desktop App" -Header "Successfully patched desktop app!" -Description "You may need to restart your system for changes to apply." diff --git a/src/scripts/Functions.ps1 b/src/scripts/Functions.ps1 index d9f0f00..477cea4 100644 --- a/src/scripts/Functions.ps1 +++ b/src/scripts/Functions.ps1 @@ -1,4 +1,4 @@ -$Version = "v1.2.3-hotfix.1" +$Version = "v1.2.3-hotfix.2" function ReadKey([int]$ChoiceNum) { $Indent = 43 - $ChoiceNum