summaryrefslogtreecommitdiff
path: root/remote-profile.patch
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2018-01-31 10:17:22 +0100
committerMartin Stransky <stransky@redhat.com>2018-01-31 10:17:22 +0100
commite113d3e05d1724ec5f7bbe98a5d0b0982b771981 (patch)
tree388028ab7761de17d27c957f079ff6aab8a12cec /remote-profile.patch
parentAdded firefox-x11 launch script, make wayland default (diff)
downloadlibrewolf-fedora-ff-e113d3e05d1724ec5f7bbe98a5d0b0982b771981.tar.gz
librewolf-fedora-ff-e113d3e05d1724ec5f7bbe98a5d0b0982b771981.tar.bz2
librewolf-fedora-ff-e113d3e05d1724ec5f7bbe98a5d0b0982b771981.zip
Fix dbus remote when profile is not given
Diffstat (limited to 'remote-profile.patch')
-rw-r--r--remote-profile.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/remote-profile.patch b/remote-profile.patch
new file mode 100644
index 0000000..919f735
--- /dev/null
+++ b/remote-profile.patch
@@ -0,0 +1,19 @@
+diff --git a/toolkit/xre/nsAppRunner.cpp b/toolkit/xre/nsAppRunner.cpp
+index 386213efebb4..990ba32acbd4 100644
+--- a/toolkit/xre/nsAppRunner.cpp
++++ b/toolkit/xre/nsAppRunner.cpp
+@@ -3995,6 +3995,14 @@ XREMain::XRE_mainStartup(bool* aExitFlag)
+ }
+ }
+
++ if (!profile) {
++#ifdef MOZ_DEV_EDITION
++ profile = "dev-edition-default";
++#else
++ profile = "default";
++#endif
++ }
++
+ nsCOMPtr<nsIFile> mutexDir;
+ rv = GetSpecialSystemDirectory(OS_TemporaryDirectory, getter_AddRefs(mutexDir));
+ if (NS_SUCCEEDED(rv)) {
bgstack15