Skip to content

Commit

Permalink
Fix #37
Browse files Browse the repository at this point in the history
  • Loading branch information
KirillOsenkov committed Oct 10, 2016
1 parent d27ec43 commit 10d94ed
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/StructuredLogViewer/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,13 @@ private async void MainWindow_Loaded(object sender, RoutedEventArgs e)
return;
}

var argument = args[1];
if (argument.StartsWith("--"))
{
// we don't do anything about the potential "--squirrel-firstrun" argument
return;
}

var filePath = args[1];
if (!File.Exists(filePath))
{
Expand Down

0 comments on commit 10d94ed

Please sign in to comment.