Skip to content

Commit

Permalink
Use CRectifyUtil class instead of secureux.exe to apply/install secur…
Browse files Browse the repository at this point in the history
…euxtheme
  • Loading branch information
MishaProductions committed Mar 21, 2024
1 parent 267fe24 commit 81e712f
Show file tree
Hide file tree
Showing 11 changed files with 566 additions and 564 deletions.
8 changes: 0 additions & 8 deletions Rectify11Installer/Core/Backend/Common.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,6 @@ public static bool WriteFiles(bool icons, bool themes)
{
if (!Helper.SafeFileOperation(Path.Combine(Variables.r11Folder, "themes.7z"), Properties.Resources.themes, Helper.OperationType.Write))
return false;

var s = NativeMethods.IsArm64() ? Properties.Resources.secureux_arm64 : Properties.Resources.secureux_x64;
var dll = NativeMethods.IsArm64() ? Properties.Resources.ThemeDll_arm64 : Properties.Resources.ThemeDll_x64;

if (!Helper.SafeFileOperation(Path.Combine(Variables.r11Folder, "SecureUXHelper.exe"), s, Helper.OperationType.Write))
return false;
if (!Helper.SafeFileOperation(Path.Combine(Variables.r11Folder, "ThemeDll.dll"), dll, Helper.OperationType.Write))
return false;
}
if (!themes && !icons)
{
Expand Down
Loading

0 comments on commit 81e712f

Please sign in to comment.