mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-21 10:01:27 -07:00
disallow uninstall on first run
This commit is contained in:
parent
f0cd3fbebc
commit
83a846f777
@ -146,6 +146,13 @@ namespace Bloxstrap
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (LaunchSettings.IsUninstall && IsFirstRun)
|
||||||
|
{
|
||||||
|
Frontend.ShowMessageBox(Bloxstrap.Resources.Strings.Bootstrapper_FirstRunUninstall, MessageBoxImage.Error);
|
||||||
|
Terminate(ErrorCode.ERROR_INVALID_FUNCTION);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// we shouldn't save settings on the first run until the first installation is finished,
|
// we shouldn't save settings on the first run until the first installation is finished,
|
||||||
// just in case the user decides to cancel the install
|
// just in case the user decides to cancel the install
|
||||||
if (!IsFirstRun)
|
if (!IsFirstRun)
|
||||||
|
9
Bloxstrap/Resources/Strings.Designer.cs
generated
9
Bloxstrap/Resources/Strings.Designer.cs
generated
@ -133,6 +133,15 @@ namespace Bloxstrap.Resources {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized string similar to You must first install Bloxstrap before uninstalling..
|
||||||
|
/// </summary>
|
||||||
|
public static string Bootstrapper_FirstRunUninstall {
|
||||||
|
get {
|
||||||
|
return ResourceManager.GetString("Bootstrapper.FirstRunUninstall", resourceCulture);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Looks up a localized string similar to Roblox has now finished rolling out the new game client update, featuring 64-bit support and the Hyperion anticheat. ReShade does not work with this update, and so it has now been disabled and removed from Bloxstrap.
|
/// Looks up a localized string similar to Roblox has now finished rolling out the new game client update, featuring 64-bit support and the Hyperion anticheat. ReShade does not work with this update, and so it has now been disabled and removed from Bloxstrap.
|
||||||
///
|
///
|
||||||
|
@ -142,6 +142,9 @@ Would you like to switch to the default channel ({1})?</value>
|
|||||||
<data name="Bootstrapper.DeeplinkTempEnabled" xml:space="preserve">
|
<data name="Bootstrapper.DeeplinkTempEnabled" xml:space="preserve">
|
||||||
<value>Roblox was launched via a deeplink, however the desktop app is required for deeplink launching to work. Because you've opted to disable the desktop app, it will temporarily be re-enabled for this launch only.</value>
|
<value>Roblox was launched via a deeplink, however the desktop app is required for deeplink launching to work. Because you've opted to disable the desktop app, it will temporarily be re-enabled for this launch only.</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="Bootstrapper.FirstRunUninstall" xml:space="preserve">
|
||||||
|
<value>You must first install Bloxstrap before uninstalling.</value>
|
||||||
|
</data>
|
||||||
<data name="Bootstrapper.HyperionUpdateInfo" xml:space="preserve">
|
<data name="Bootstrapper.HyperionUpdateInfo" xml:space="preserve">
|
||||||
<value>Roblox has now finished rolling out the new game client update, featuring 64-bit support and the Hyperion anticheat. ReShade does not work with this update, and so it has now been disabled and removed from Bloxstrap.
|
<value>Roblox has now finished rolling out the new game client update, featuring 64-bit support and the Hyperion anticheat. ReShade does not work with this update, and so it has now been disabled and removed from Bloxstrap.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user