Skip to content

Commit 10d94ed

Browse files
committed
Fix #37
1 parent d27ec43 commit 10d94ed

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/StructuredLogViewer/MainWindow.xaml.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,13 @@ private async void MainWindow_Loaded(object sender, RoutedEventArgs e)
6060
return;
6161
}
6262

63+
var argument = args[1];
64+
if (argument.StartsWith("--"))
65+
{
66+
// we don't do anything about the potential "--squirrel-firstrun" argument
67+
return;
68+
}
69+
6370
var filePath = args[1];
6471
if (!File.Exists(filePath))
6572
{

0 commit comments

Comments
 (0)