Skip to content

Commit

Permalink
Merge pull request #916 from jakerosado/develop
Browse files Browse the repository at this point in the history
Fix system dialogs
  • Loading branch information
Pathoschild committed Jul 6, 2024
2 parents 375326d + e3e0912 commit 9adaa28
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,12 @@ public ShowDataFilesCommand()
/// <param name="args">The command arguments.</param>
public override void Handle(IMonitor monitor, string command, ArgumentParser args)
{
Process.Start(Constants.DataPath);
Process.Start(new ProcessStartInfo
{
FileName = Constants.DataPath,
UseShellExecute = true
});

monitor.Log($"OK, opening {Constants.DataPath}.", LogLevel.Info);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,12 @@ public ShowGameFilesCommand()
/// <param name="args">The command arguments.</param>
public override void Handle(IMonitor monitor, string command, ArgumentParser args)
{
Process.Start(Constants.GamePath);
Process.Start(new ProcessStartInfo
{
FileName = Constants.GamePath,
UseShellExecute = true
});

monitor.Log($"OK, opening {Constants.GamePath}.", LogLevel.Info);
}
}
Expand Down

0 comments on commit 9adaa28

Please sign in to comment.