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

zotero.exe.tar.xz is now stored using Git LFS, so anyone building the
app on Windows will need that installed.
This commit is contained in:
Dan Stillman 2023-05-09 07:06:19 +01:00
parent 725e5ac0f0
commit 93f009e9d8
4 changed files with 6 additions and 3 deletions

3
.gitattributes vendored
View file

@ -1 +1,2 @@
*.sql text eol=lf
*.sql text eol=lf
app/win/zotero.exe.tar.xz filter=lfs diff=lfs merge=lfs -text

View file

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

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,28 @@ static bool IsArg(const char* arg, const
@@ -149,19 +149,30 @@ 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
+ _putenv_s("MOZ_ALLOW_DOWNGRADE", "1");
+ // Don't create dedicated profile (default-esr)
+ _putenv_s("MOZ_LEGACY_PROFILES", "1");
+
// Allow firefox.exe to launch XULRunner apps via -app <application.ini>
// Note that -app must be the *first* argument.

Binary file not shown.