Fix uninstallation returning wrong exit code

This commit is contained in:
pizzaboxer 2022-11-20 16:08:50 +00:00
parent 18f46cdad5
commit a58bdd4abc

View File

@ -385,6 +385,8 @@ namespace Bloxstrap
catch (Exception) { } catch (Exception) { }
Dialog.ShowSuccess($"{Program.ProjectName} has been uninstalled"); Dialog.ShowSuccess($"{Program.ProjectName} has been uninstalled");
Environment.Exit(ERROR_PRODUCT_UNINSTALLED);
} }
#endregion #endregion