diff options
| author | AShifter <[email protected]> | 2017-05-01 11:38:32 -0600 |
|---|---|---|
| committer | AShifter <[email protected]> | 2017-05-01 11:38:32 -0600 |
| commit | b842c73b04fb92d9ecaf3d8fcc2df6157c2e8652 (patch) | |
| tree | ff4979daf8dfd7881899ade68903d757c6e828d4 /ShiftOS.WinForms/Oobe.cs | |
| parent | 7293e2f07f99603c1f63826d705ce4179d70c663 (diff) | |
| parent | 12490dec7deaa972cb29166095a7ef0c1f005541 (diff) | |
| download | shiftos_thereturn-b842c73b04fb92d9ecaf3d8fcc2df6157c2e8652.tar.gz shiftos_thereturn-b842c73b04fb92d9ecaf3d8fcc2df6157c2e8652.tar.bz2 shiftos_thereturn-b842c73b04fb92d9ecaf3d8fcc2df6157c2e8652.zip | |
Merge remote-tracking branch 'refs/remotes/shiftos-game/master'
Diffstat (limited to 'ShiftOS.WinForms/Oobe.cs')
| -rw-r--r-- | ShiftOS.WinForms/Oobe.cs | 5 |
1 files changed, 4 insertions, 1 deletions
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); } }); |
