mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-21 10:01:27 -07:00
Remove Administrator check
This commit is contained in:
parent
5fdfc901c4
commit
cf6b95e695
@ -153,14 +153,6 @@ namespace Bloxstrap
|
|||||||
// REMOVE WHEN LARGER REFACTORING IS DONE
|
// REMOVE WHEN LARGER REFACTORING IS DONE
|
||||||
await RobloxDeployment.InitializeConnectivity();
|
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)
|
if (LaunchSettings.IsUninstall && IsFirstRun)
|
||||||
{
|
{
|
||||||
Frontend.ShowMessageBox(Bloxstrap.Resources.Strings.Bootstrapper_FirstRunUninstall, MessageBoxImage.Error);
|
Frontend.ShowMessageBox(Bloxstrap.Resources.Strings.Bootstrapper_FirstRunUninstall, MessageBoxImage.Error);
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<OutputType>WinExe</OutputType>
|
<OutputType>WinExe</OutputType>
|
||||||
@ -7,10 +7,11 @@
|
|||||||
<UseWPF>true</UseWPF>
|
<UseWPF>true</UseWPF>
|
||||||
<UseWindowsForms>True</UseWindowsForms>
|
<UseWindowsForms>True</UseWindowsForms>
|
||||||
<ApplicationIcon>Bloxstrap.ico</ApplicationIcon>
|
<ApplicationIcon>Bloxstrap.ico</ApplicationIcon>
|
||||||
<Version>2.6.0</Version>
|
<Version>2.6.1</Version>
|
||||||
<FileVersion>2.6.0.0</FileVersion>
|
<FileVersion>2.6.1.0</FileVersion>
|
||||||
<ApplicationManifest>app.manifest</ApplicationManifest>
|
<ApplicationManifest>app.manifest</ApplicationManifest>
|
||||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||||
|
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
9
Bloxstrap/Resources/Strings.Designer.cs
generated
9
Bloxstrap/Resources/Strings.Designer.cs
generated
@ -152,15 +152,6 @@ namespace Bloxstrap.Resources {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Looks up a localized string similar to Bloxstrap does not support running in administrator mode. Relaunch or reinstall Bloxstrap with lower privileges..
|
|
||||||
/// </summary>
|
|
||||||
public static string Bootstrapper_RanInAdminMode {
|
|
||||||
get {
|
|
||||||
return ResourceManager.GetString("Bootstrapper.RanInAdminMode", resourceCulture);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Looks up a localized string similar to Applying Roblox modifications....
|
/// Looks up a localized string similar to Applying Roblox modifications....
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -149,9 +149,6 @@ Your ReShade configuration files will still be saved, and you can locate them by
|
|||||||
<data name="Bootstrapper.NotEnoughSpace" xml:space="preserve">
|
<data name="Bootstrapper.NotEnoughSpace" xml:space="preserve">
|
||||||
<value>Bloxstrap does not have enough disk space to download and install Roblox. Please free up some disk space and try again.</value>
|
<value>Bloxstrap does not have enough disk space to download and install Roblox. Please free up some disk space and try again.</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="Bootstrapper.RanInAdminMode" xml:space="preserve">
|
|
||||||
<value>Bloxstrap does not support running in administrator mode. Relaunch or reinstall Bloxstrap with lower privileges.</value>
|
|
||||||
</data>
|
|
||||||
<data name="Bootstrapper.Status.ApplyingModifications" xml:space="preserve">
|
<data name="Bootstrapper.Status.ApplyingModifications" xml:space="preserve">
|
||||||
<value>Applying Roblox modifications...</value>
|
<value>Applying Roblox modifications...</value>
|
||||||
</data>
|
</data>
|
||||||
|
Loading…
Reference in New Issue
Block a user