diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-07-25 07:27:18 +0200 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-07-25 07:27:18 +0200 |
commit | 45cdc5db38a02ac068e64d3607484e928f88f3c0 (patch) | |
tree | 3ee8ba8d492cab4c7170a4f9eed5f895dd134887 /toolkit/components | |
parent | dd234f025a2154553de23d4514da6669ef8f2851 (diff) | |
download | UXP-45cdc5db38a02ac068e64d3607484e928f88f3c0.tar UXP-45cdc5db38a02ac068e64d3607484e928f88f3c0.tar.gz UXP-45cdc5db38a02ac068e64d3607484e928f88f3c0.tar.lz UXP-45cdc5db38a02ac068e64d3607484e928f88f3c0.tar.xz UXP-45cdc5db38a02ac068e64d3607484e928f88f3c0.zip |
about:profiles - fix "Launch profile in new browser" (added "-no-remote" for Windows)
Diffstat (limited to 'toolkit/components')
-rw-r--r-- | toolkit/components/startup/nsAppStartup.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/toolkit/components/startup/nsAppStartup.cpp b/toolkit/components/startup/nsAppStartup.cpp index fde00d1db..391389605 100644 --- a/toolkit/components/startup/nsAppStartup.cpp +++ b/toolkit/components/startup/nsAppStartup.cpp @@ -1020,8 +1020,13 @@ nsAppStartup::CreateInstanceWithProfile(nsIToolkitProfile* aProfile) 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() }; rv = process->Run(false, args, 2); +#endif if (NS_WARN_IF(NS_FAILED(rv))) { return rv; } |