Mac: Update to Firefox 102.10.0 and don't create default-esr profile

This commit is contained in:
Dan Stillman 2023-05-09 01:13:59 -04:00
parent b568585f44
commit 725e5ac0f0
3 changed files with 4 additions and 2 deletions

View file

@ -1,7 +1,7 @@
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# Version of Gecko to build with
GECKO_VERSION_MAC="102.9.0esr"
GECKO_VERSION_MAC="102.10.0esr"
GECKO_VERSION_LINUX="102.10.0esr"
GECKO_VERSION_WIN="102.9.0esr"
RUST_VERSION=1.60.0

View file

@ -1,7 +1,7 @@
diff --git a/browser/app/nsBrowserApp.cpp b/browser/app/nsBrowserApp.cpp
--- a/browser/app/nsBrowserApp.cpp
+++ b/browser/app/nsBrowserApp.cpp
@@ -149,19 +149,29 @@ static bool IsArg(const char* arg, const
@@ -149,19 +149,31 @@ static bool IsArg(const char* arg, const
#endif
return false;
@ -12,6 +12,8 @@ diff --git a/browser/app/nsBrowserApp.cpp b/browser/app/nsBrowserApp.cpp
static int do_main(int argc, char* argv[], char* envp[]) {
+ // Allow profile downgrade for Zotero
+ setenv("MOZ_ALLOW_DOWNGRADE", "1", 1);
+ // Don't create dedicated profile (default-esr)
+ setenv("MOZ_LEGACY_PROFILES", "1", 1);
+
// Allow firefox.exe to launch XULRunner apps via -app <application.ini>
// Note that -app must be the *first* argument.

BIN
app/mac/zotero.xz Normal file → Executable file

Binary file not shown.