Skip to content
This repository has been archived by the owner on Dec 26, 2020. It is now read-only.

Commit

Permalink
Fix issue with passing values
Browse files Browse the repository at this point in the history
  • Loading branch information
Oceanswave committed Sep 13, 2020
1 parent 574947c commit 4a855c1
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,15 @@ static void Main(string[] args)
}
else
{
FSMosquitoExecutor.Run(() =>
FSMosquitoExecutor.Run((string[] args) =>
{
if (args.Length < 1 || !bool.TryParse(args[0], out bool showWindowOnStartup))
{
showWindowOnStartup = true;
}

Launch(showWindowOnStartup);
});
}, new string[] { showWindowOnStartup.ToString() });
}
#endif
}
Expand Down

0 comments on commit 4a855c1

Please sign in to comment.