aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.WinForms
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-05-28 16:05:51 -0400
committerMichael <[email protected]>2017-05-28 16:05:57 -0400
commite85832a5a4caefe854f3f27b7e60663e2bf26624 (patch)
tree1683b73aba6bedae20aea932d9387d78bdf0938c /ShiftOS.WinForms
parentc7ba7d733c756d196f98dd4533289a1ef4db715f (diff)
downloadshiftos_thereturn-e85832a5a4caefe854f3f27b7e60663e2bf26624.tar.gz
shiftos_thereturn-e85832a5a4caefe854f3f27b7e60663e2bf26624.tar.bz2
shiftos_thereturn-e85832a5a4caefe854f3f27b7e60663e2bf26624.zip
fix double login issue and oobe bugs
Diffstat (limited to 'ShiftOS.WinForms')
-rw-r--r--ShiftOS.WinForms/OobeStory.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/ShiftOS.WinForms/OobeStory.cs b/ShiftOS.WinForms/OobeStory.cs
index a35e1d8..8d86b9e 100644
--- a/ShiftOS.WinForms/OobeStory.cs
+++ b/ShiftOS.WinForms/OobeStory.cs
@@ -111,6 +111,7 @@ namespace ShiftOS.WinForms
ConsoleEx.Bold = false;
ConsoleEx.BackgroundColor = ConsoleColor.Black;
Console.Write("Formatting: [");
+ ConsoleEx.OnFlush?.Invoke();
int formatProgress = 3;
while (formatProgress <= 100)
{
@@ -118,6 +119,7 @@ namespace ShiftOS.WinForms
{
ConsoleEx.BackgroundColor = ConsoleColor.White;
Console.Write(" ");
+ ConsoleEx.OnFlush?.Invoke();
ConsoleEx.BackgroundColor = ConsoleColor.Black;
}
Desktop.InvokeOnWorkerThread(() => Engine.AudioManager.PlayStream(Properties.Resources.typesound));