From e113d3e05d1724ec5f7bbe98a5d0b0982b771981 Mon Sep 17 00:00:00 2001 From: Martin Stransky Date: Wed, 31 Jan 2018 10:17:22 +0100 Subject: Fix dbus remote when profile is not given --- remote-profile.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 remote-profile.patch (limited to 'remote-profile.patch') 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 mutexDir; + rv = GetSpecialSystemDirectory(OS_TemporaryDirectory, getter_AddRefs(mutexDir)); + if (NS_SUCCEEDED(rv)) { -- cgit