mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-22 23:27:30 +09:00
about:profiles - fix "Launch profile in new browser" (added "-no-remote" for Windows)
This commit is contained in:
parent
9439f5f753
commit
54a727b3cb
1 changed files with 5 additions and 0 deletions
|
|
@ -1020,8 +1020,13 @@ nsAppStartup::CreateInstanceWithProfile(nsIToolkitProfile* aProfile)
|
||||||
return rv;
|
return rv;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if defined(XP_WIN)
|
||||||
|
const char *args[] = { "-no-remote", "-P", profileName.get() };
|
||||||
|
rv = process->Run(false, args, 3);
|
||||||
|
#else
|
||||||
const char *args[] = { "-P", profileName.get() };
|
const char *args[] = { "-P", profileName.get() };
|
||||||
rv = process->Run(false, args, 2);
|
rv = process->Run(false, args, 2);
|
||||||
|
#endif
|
||||||
if (NS_WARN_IF(NS_FAILED(rv))) {
|
if (NS_WARN_IF(NS_FAILED(rv))) {
|
||||||
return rv;
|
return rv;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue