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

Commit e211683

Browse files
committed
Fix for console
1 parent 1434730 commit e211683

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Source/Deployer.Raspberry.Gui/App.xaml.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using System.Linq;
2+
using System.Threading.Tasks;
23
using System.Windows;
34
using Deployer.Gui.Common;
45
using Deployer.Raspberry.Console;
@@ -36,7 +37,7 @@ private void LaunchConsole(string[] args)
3637
{
3738
UpdateChecker.CheckForUpdates(AppProperties.GitHubBaseUrl);
3839

39-
ConsoleEmbedder.ExecuteInsideConsole(() => Program.Main(args).Wait());
40+
ConsoleEmbedder.ExecuteInsideConsole(() => Task.Run(() => Program.Main(args)).Wait());
4041
Shutdown();
4142
}
4243
}

0 commit comments

Comments
 (0)