[ui] fix unwanted persistence unit overlay

* Also fix a typo and make sure to quote more paths when invoking Fido.
This commit is contained in:
Pete Batard 2019-06-05 17:00:21 +01:00
parent a89ed8bc60
commit f6687e729b
No known key found for this signature in database
GPG key ID: 38E0CF5E69EDD671
6 changed files with 12 additions and 14 deletions

View file

@ -982,8 +982,8 @@ static DWORD WINAPI DownloadISOThread(LPVOID param)
goto out;
}
static_sprintf(cmdline, "%s -NonInteractive -Sta -NoProfile ExecutionPolicy Bypass "
"-File \"%s\" -DisableFirstRunCustomize -PipeName %s -LocData \"%s\" -Icon %s -AppTitle \"%s\"",
static_sprintf(cmdline, "\"%s\" -NonInteractive -Sta -NoProfile ExecutionPolicy Bypass "
"-File \"%s\" -DisableFirstRunCustomize -PipeName %s -LocData \"%s\" -Icon \"%s\" -AppTitle \"%s\"",
powershell_path, script_path, &pipe[9], locale_str, icon_path, lmprintf(MSG_149));
// Signal our Windows alert hook that it should close the IE cookie prompts from Fido
close_fido_cookie_prompts = TRUE;