Skip to content

Commit cd22adc

Browse files
author
MarkusTegelane
committed
Version 3.1 snapshot 25_07_13c
* Fixed thank you message not showing up after an update
1 parent a57a91b commit cd22adc

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

UIActions.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1085,8 +1085,9 @@ public static void CheckUpdates(Form f, Control updateCheckButton = null)
10851085
{
10861086
UpdateInterface ui = new UpdateInterface();
10871087
new Thread(() => {
1088-
if (File.Exists("BSSP.exe"))
1088+
if (Program.clip.args.Contains("/doneupdate"))
10891089
{
1090+
Program.clip = new CLIProcessor(new string[] { });
10901091
// Spawn the message box with the main UI as the parent
10911092
Form ifrm = Program.F1;
10921093
if (Program.gs.LegacyUI)
@@ -1096,6 +1097,9 @@ public static void CheckUpdates(Form f, Control updateCheckButton = null)
10961097
ifrm.BeginInvoke(new MethodInvoker(delegate {
10971098
MessageBox.Show("Thank you for installing the latest version of Blue screen simulator plus :)\n\nWhat's new?\n" + string.Join("\r\n", Program.changelog) + "\n\nYou can find a more detailed changelog in the official BlueScreenSimulatorPlus GitHub page.", "Update was successful", MessageBoxButtons.OK, MessageBoxIcon.Information);
10981099
}));
1100+
}
1101+
if (File.Exists("BSSP.exe"))
1102+
{
10991103
int tries = 0;
11001104
while (File.Exists("BSSP.exe"))
11011105
{

0 commit comments

Comments
 (0)