Skip to content
This repository has been archived by the owner on Jan 8, 2022. It is now read-only.

Commit

Permalink
Fix for console
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperJMN committed Mar 5, 2019
1 parent 1434730 commit e211683
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/Deployer.Raspberry.Gui/App.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
using Deployer.Gui.Common;
using Deployer.Raspberry.Console;
Expand Down Expand Up @@ -36,7 +37,7 @@ private void LaunchConsole(string[] args)
{
UpdateChecker.CheckForUpdates(AppProperties.GitHubBaseUrl);

ConsoleEmbedder.ExecuteInsideConsole(() => Program.Main(args).Wait());
ConsoleEmbedder.ExecuteInsideConsole(() => Task.Run(() => Program.Main(args)).Wait());
Shutdown();
}
}
Expand Down

0 comments on commit e211683

Please sign in to comment.