From 12490dec7deaa972cb29166095a7ef0c1f005541 Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 29 Apr 2017 18:59:20 -0400 Subject: Various intro fixes. --- ShiftOS.WinForms/Oobe.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'ShiftOS.WinForms/Oobe.cs') diff --git a/ShiftOS.WinForms/Oobe.cs b/ShiftOS.WinForms/Oobe.cs index 6017d35..309495d 100644 --- a/ShiftOS.WinForms/Oobe.cs +++ b/ShiftOS.WinForms/Oobe.cs @@ -261,7 +261,10 @@ You must join the digital society, rise up the ranks, and save us. { Utils.Delete(Paths.GetPath("user.dat")); } - Application.Restart(); + string json = Utils.ExportMount(0); + System.IO.File.WriteAllText(Paths.SaveFile, json); + System.Diagnostics.Process.Start(Application.ExecutablePath); + Environment.Exit(0); } }); -- cgit v1.2.3