Update Linux updater for Zotero 7

This commit is contained in:
Dan Stillman 2023-05-20 10:51:47 +00:00
parent db4a79838b
commit 90d5e1e551
6 changed files with 33 additions and 1 deletions

1
.gitattributes vendored
View file

@ -2,3 +2,4 @@
app/win/zotero.exe.tar.xz filter=lfs diff=lfs merge=lfs -text
app/mac/updater.tar.xz filter=lfs diff=lfs merge=lfs -text
app/win/updater.exe.tar.xz filter=lfs diff=lfs merge=lfs -text
app/linux/updater.tar.xz filter=lfs diff=lfs merge=lfs -text

View file

@ -855,7 +855,8 @@ if [ $BUILD_LINUX == 1 ]; then
cp "$CALLDIR/linux/set_launcher_icon" "$APPDIR"
# Use our own updater, because Mozilla's requires updates signed by Mozilla
cp "$CALLDIR/linux/updater-$arch" "$APPDIR"/updater
tar xf "$CALLDIR/linux/updater.tar.xz" --to-stdout updater-$arch > "$APPDIR/updater"
chmod 755 "$APPDIR/updater"
# Copy app files
rsync -a "$base_dir/" "$APPDIR/"

27
app/linux/mozconfig Normal file
View file

@ -0,0 +1,27 @@
# Uncomment to build 32-bit
#ac_add_options --target=i686
ac_add_options --enable-bootstrap
mk_add_options AUTOCLOBBER=1
# These don't all affect the stub, but they can't hurt, and we'll want them if
# we switch to custom XUL builds
ac_add_options MOZ_ENABLE_JS_DUMP=1
ac_add_options MOZ_ENABLE_FORKSERVER=
ac_add_options MOZ_TELEMETRY_REPORTING=
ac_add_options MOZ_DATA_REPORTING=
ac_add_options --disable-tests
ac_add_options --disable-debug
ac_add_options --disable-debug-symbols
ac_add_options --disable-webrtc
ac_add_options --disable-eme
export MOZILLA_OFFICIAL=1
export RELEASE_OR_BETA=1
MOZ_REQUIRE_SIGNING=
ac_add_options --enable-official-branding
# Build updater without MAR signature verification
ac_add_options --disable-verify-mar

Binary file not shown.

Binary file not shown.

BIN
app/linux/updater.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.