diff options
| author | Michael <[email protected]> | 2017-01-08 09:57:10 -0500 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-01-08 09:57:10 -0500 |
| commit | f30dcf5ef41d54c588d7b42c48be8d941abba72e (patch) | |
| tree | 7705f99b965673b1c034ac2b1c56e65072c827df /ShiftOS_TheReturn/OutOfBoxExperience.cs.rej | |
| parent | 69dfad54724d4176dfce238a8d7e73970e6eef24 (diff) | |
| download | shiftos_thereturn-f30dcf5ef41d54c588d7b42c48be8d941abba72e.tar.gz shiftos_thereturn-f30dcf5ef41d54c588d7b42c48be8d941abba72e.tar.bz2 shiftos_thereturn-f30dcf5ef41d54c588d7b42c48be8d941abba72e.zip | |
Initial upload
Diffstat (limited to 'ShiftOS_TheReturn/OutOfBoxExperience.cs.rej')
| -rw-r--r-- | ShiftOS_TheReturn/OutOfBoxExperience.cs.rej | 105 |
1 files changed, 105 insertions, 0 deletions
diff --git a/ShiftOS_TheReturn/OutOfBoxExperience.cs.rej b/ShiftOS_TheReturn/OutOfBoxExperience.cs.rej new file mode 100644 index 0000000..49be1b2 --- /dev/null +++ b/ShiftOS_TheReturn/OutOfBoxExperience.cs.rej @@ -0,0 +1,105 @@ +diff a/ShiftOS_TheReturn/OutOfBoxExperience.cs b/ShiftOS_TheReturn/OutOfBoxExperience.cs (rejected hunks) +@@ -98,36 +98,84 @@ + + var t = new Thread(new ThreadStart(() => + { +- int current = 0; ++ int current = 0; ++ Console.WriteLine("{INSTALLING_SHIFTOS}"); ++ while (current != 100) ++ { ++ string parse = Localization.Parse("{TERMINAL_FORMATTING_DRIVE}", new Dictionary<string, string>() ++ { ++ { "%percent", $"{current}" } ++ }); + Console.WriteLine("{INSTALLING_SHIFTOS}"); +- while (current != 100) ++ Console.WriteLine(parse); ++ Thread.Sleep(250); ++ this.Invoke(new Action(() => + { +- string parse = Localization.Parse("{TERMINAL_FORMATTING_DRIVE}", new Dictionary<string, string>() ++ txtterm.Text = ""; ++ })); ++ current += 1; ++ } ++ ++ string p = Localization.Parse("{TERMINAL_FORMATTING_DRIVE}", new Dictionary<string, string>() + { + { "%percent", $"{current}" } + }); +- Console.WriteLine("{INSTALLING_SHIFTOS}"); +- Console.WriteLine(parse); +- Thread.Sleep(250); +- this.Invoke(new Action(() => +- { +- txtterm.Text = ""; +- })); +- current += 1; ++ Console.WriteLine("{INSTALLING_SHIFTOS}"); ++ Console.WriteLine(p); ++ ++ Thread.Sleep(1000); ++ ++ Console.WriteLine("{GENERATING_PATHS}"); ++ ++ ScanAllFiles("0:"); ++ ++ Thread.Sleep(1250); ++ ++ Console.WriteLine("{CREATING_USER}"); ++ ++ Thread.Sleep(300); ++ ++ Console.WriteLine("{SHIFTOS_HAS_BEEN_INSTALLED}"); ++ ++ for (int i = 5; i >= 0; i--) ++ { ++ Console.WriteLine(Localization.Parse("{REBOOTING_SYSTEM}", new Dictionary<string, string>() ++ { ++ { "%i", i.ToString()} ++ })); ++ Thread.Sleep(1000); + } + +- string p = Localization.Parse("{TERMINAL_FORMATTING_DRIVE}", new Dictionary<string, string>() ++ this.Invoke(new Action(() => + { +- { "%percent", $"{current}" } +- }); +- Console.WriteLine("{INSTALLING_SHIFTOS}"); +- Console.WriteLine(p); ++ txtterm.Text = ""; ++ })); + +- Thread.Sleep(1000); ++ Console.WriteLine("{TERMINAL_TUTORIAL_1}"); + +- Console.WriteLine("{GENERATING_PATHS}"); ++ SaveSystem.TransferCodepointsFrom("sos", 50); + +- ScanAllFiles("0:"); ++ Applications.Terminal.InStory = false; ++ ++ while (!Shiftorium.UpgradeInstalled("mud_fundamentals")) ++ { ++ ++ } ++ ++ var t2 = new Thread(new ThreadStart(() => ++ { ++ int storyPos = SaveSystem.CurrentSave.StoryPosition + 1; ++ while(storyPos > SaveSystem.CurrentSave.StoryPosition) ++ { ++ this.Invoke(new Action(() => ++ { ++ this.Close(); ++ })); ++ } ++ })); ++ t2.IsBackground = true; ++ t2.Start(); ++ Story.StartDevXLies(); + + })); + t.IsBackground = true; |
