diff --git a/Flow.Launcher.Plugin/Interfaces/IPublicAPI.cs b/Flow.Launcher.Plugin/Interfaces/IPublicAPI.cs index 7b0e1dc8c..a413fe98e 100644 --- a/Flow.Launcher.Plugin/Interfaces/IPublicAPI.cs +++ b/Flow.Launcher.Plugin/Interfaces/IPublicAPI.cs @@ -591,6 +591,6 @@ namespace Flow.Launcher.Plugin /// Working directory. If not specified, the current directory will be used /// Optional arguments to pass to the process. If not specified, no arguments will be passed /// Whether to run the process as administrator - public void StartProcess(string filePath, string workingDirectory, string arguments = "", bool runAsAdmin = false); + public void StartProcess(string filePath, string workingDirectory = "", string arguments = "", bool runAsAdmin = false); } } diff --git a/Flow.Launcher/PublicAPIInstance.cs b/Flow.Launcher/PublicAPIInstance.cs index 2f29e098e..e76ea1a5a 100644 --- a/Flow.Launcher/PublicAPIInstance.cs +++ b/Flow.Launcher/PublicAPIInstance.cs @@ -577,7 +577,7 @@ namespace Flow.Launcher public Task StopwatchLogInfoAsync(string className, string message, Func action, [CallerMemberName] string methodName = "") => Stopwatch.InfoAsync(className, message, action, methodName); - public void StartProcess(string filePath, string workingDirectory, string arguments = "", bool runAsAdmin = false) + public void StartProcess(string filePath, string workingDirectory = "", string arguments = "", bool runAsAdmin = false) { try {