From cf6b95e695cb8c45e39d7960376effa5c8e0fa56 Mon Sep 17 00:00:00 2001 From: pizzaboxer Date: Fri, 14 Jun 2024 23:52:06 +0100 Subject: [PATCH] Remove Administrator check --- Bloxstrap/App.xaml.cs | 8 -------- Bloxstrap/Bloxstrap.csproj | 9 +++++---- Bloxstrap/Resources/Strings.Designer.cs | 9 --------- Bloxstrap/Resources/Strings.resx | 3 --- 4 files changed, 5 insertions(+), 24 deletions(-) diff --git a/Bloxstrap/App.xaml.cs b/Bloxstrap/App.xaml.cs index 398528a..0540e9d 100644 --- a/Bloxstrap/App.xaml.cs +++ b/Bloxstrap/App.xaml.cs @@ -153,14 +153,6 @@ namespace Bloxstrap // REMOVE WHEN LARGER REFACTORING IS DONE await RobloxDeployment.InitializeConnectivity(); - // disallow running as administrator except for uninstallation - if (Utilities.IsAdministrator && !LaunchSettings.IsUninstall) - { - Frontend.ShowMessageBox(Bloxstrap.Resources.Strings.Bootstrapper_RanInAdminMode, MessageBoxImage.Error); - Terminate(ErrorCode.ERROR_INVALID_FUNCTION); - return; - } - if (LaunchSettings.IsUninstall && IsFirstRun) { Frontend.ShowMessageBox(Bloxstrap.Resources.Strings.Bootstrapper_FirstRunUninstall, MessageBoxImage.Error); diff --git a/Bloxstrap/Bloxstrap.csproj b/Bloxstrap/Bloxstrap.csproj index b1e3348..02278bb 100644 --- a/Bloxstrap/Bloxstrap.csproj +++ b/Bloxstrap/Bloxstrap.csproj @@ -1,4 +1,4 @@ - + WinExe @@ -7,10 +7,11 @@ true True Bloxstrap.ico - 2.6.0 - 2.6.0.0 + 2.6.1 + 2.6.1.0 app.manifest - true + true + false diff --git a/Bloxstrap/Resources/Strings.Designer.cs b/Bloxstrap/Resources/Strings.Designer.cs index 5ba6d2d..9dbc005 100644 --- a/Bloxstrap/Resources/Strings.Designer.cs +++ b/Bloxstrap/Resources/Strings.Designer.cs @@ -152,15 +152,6 @@ namespace Bloxstrap.Resources { } } - /// - /// Looks up a localized string similar to Bloxstrap does not support running in administrator mode. Relaunch or reinstall Bloxstrap with lower privileges.. - /// - public static string Bootstrapper_RanInAdminMode { - get { - return ResourceManager.GetString("Bootstrapper.RanInAdminMode", resourceCulture); - } - } - /// /// Looks up a localized string similar to Applying Roblox modifications.... /// diff --git a/Bloxstrap/Resources/Strings.resx b/Bloxstrap/Resources/Strings.resx index c002509..77a7489 100644 --- a/Bloxstrap/Resources/Strings.resx +++ b/Bloxstrap/Resources/Strings.resx @@ -149,9 +149,6 @@ Your ReShade configuration files will still be saved, and you can locate them by Bloxstrap does not have enough disk space to download and install Roblox. Please free up some disk space and try again. - - Bloxstrap does not support running in administrator mode. Relaunch or reinstall Bloxstrap with lower privileges. - Applying Roblox modifications...