mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
revert method removal
This commit is contained in:
parent
16c30e9803
commit
b4f06caef5
1 changed files with 13 additions and 0 deletions
|
|
@ -59,5 +59,18 @@ namespace Flow.Launcher.Plugin.SharedCommands
|
||||||
GetWindowText(hwnd, sb, sb.Capacity);
|
GetWindowText(hwnd, sb, sb.Capacity);
|
||||||
return sb.ToString();
|
return sb.ToString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static ProcessStartInfo SetProcessStartInfo(this string fileName, string workingDirectory = "", string arguments = "", string verb = "")
|
||||||
|
{
|
||||||
|
var info = new ProcessStartInfo
|
||||||
|
{
|
||||||
|
FileName = fileName,
|
||||||
|
WorkingDirectory = workingDirectory,
|
||||||
|
Arguments = arguments,
|
||||||
|
Verb = verb
|
||||||
|
};
|
||||||
|
|
||||||
|
return info;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue