Skip to content

Commit

Permalink
Show "Run" dialog in taskbar when launched without main form
Browse files Browse the repository at this point in the history
  • Loading branch information
bastianeicher committed Apr 13, 2024
1 parent 89caa42 commit bc28c63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Central.WinForms/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ private static int Main(string[] args)
{
[] => new MainForm(machineWide: false),
["-m"] or ["--machine"] => new MainForm(machineWide: true),
[var uri] => new SelectCommandDialog(new(uri)),
[var uri] => new SelectCommandDialog(new(uri)) {ShowInTaskbar = true},
_ => throw new FormatException("Unknown command-line arguments.")
});
}
Expand Down

0 comments on commit bc28c63

Please sign in to comment.