mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Revert 3bbe54bb71
This commit is contained in:
parent
3f83361a7a
commit
9e874b241a
1 changed files with 0 additions and 4 deletions
|
|
@ -297,9 +297,6 @@ namespace Wox.Infrastructure
|
|||
int driveId = -1;
|
||||
if (PromptForMedia(cmd, out driveId))
|
||||
{
|
||||
string oldCwd = Environment.CurrentDirectory;
|
||||
string home = Environment.GetEnvironmentVariable("HOME");
|
||||
Environment.CurrentDirectory = home;
|
||||
ShellExecCmdLine(
|
||||
IntPtr.Zero,
|
||||
errorDialogHwnd,
|
||||
|
|
@ -308,7 +305,6 @@ namespace Wox.Infrastructure
|
|||
global::System.Diagnostics.ProcessWindowStyle.Normal,
|
||||
ShellExecCmdLineFlags.SECL__IGNORE_ERROR | ShellExecCmdLineFlags.SECL_USE_IDLIST | ShellExecCmdLineFlags.SECL_LOG_USAGE | (showErrorDialog ? 0 : ShellExecCmdLineFlags.SECL_NO_UI)
|
||||
);
|
||||
Environment.CurrentDirectory = oldCwd;
|
||||
}
|
||||
else
|
||||
{ // Device not ready 0x80070015
|
||||
|
|
|
|||
Loading…
Reference in a new issue