mirror of
https://github.com/zen-browser/desktop.git
synced 2025-10-04 00:46:35 +00:00
Update Linux release build workflow and improve package installation; add checks for window.docShell in ZenUIManager
This commit is contained in:
2
.github/workflows/linux-release-build.yml
vendored
2
.github/workflows/linux-release-build.yml
vendored
@@ -16,7 +16,7 @@ jobs:
|
|||||||
build-linux:
|
build-linux:
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
runs-on: ${{ inputs.release-branch == 'release' && 'warp-ubuntu-latest-x64-8x' || 'ubuntu-latest' }}
|
runs-on: ${{ matrix.arch == 'x86_64' && 'warp-ubuntu-latest-x64-8x' || 'ubuntu-latest' }}
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
6
.github/workflows/src/release-build.sh
vendored
6
.github/workflows/src/release-build.sh
vendored
@@ -3,8 +3,10 @@
|
|||||||
set -xe
|
set -xe
|
||||||
|
|
||||||
if command -v apt-get &> /dev/null; then
|
if command -v apt-get &> /dev/null; then
|
||||||
sudo apt-get update
|
sudo add-apt-repository ppa:kisak/kisak-mesa
|
||||||
sudo apt-get install -y xvfb
|
sudo apt update
|
||||||
|
sudo apt upgrade
|
||||||
|
sudo apt-get install -y xvfb libnvidia-egl-wayland1 mesa-utils libgl1-mesa-dri
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ulimit -n 4096
|
ulimit -n 4096
|
||||||
|
@@ -256,7 +256,9 @@ var gZenVerticalTabsManager = {
|
|||||||
try {
|
try {
|
||||||
this._updateMaxWidth();
|
this._updateMaxWidth();
|
||||||
|
|
||||||
|
if (window.docShell) {
|
||||||
window.docShell.treeOwner.QueryInterface(Ci.nsIInterfaceRequestor).getInterface(Ci.nsIAppWindow).rollupAllPopups();
|
window.docShell.treeOwner.QueryInterface(Ci.nsIInterfaceRequestor).getInterface(Ci.nsIAppWindow).rollupAllPopups();
|
||||||
|
}
|
||||||
|
|
||||||
const topButtons = document.getElementById('zen-sidebar-top-buttons');
|
const topButtons = document.getElementById('zen-sidebar-top-buttons');
|
||||||
const isCompactMode = this._prefsCompactMode && !forCustomizableMode;
|
const isCompactMode = this._prefsCompactMode && !forCustomizableMode;
|
||||||
|
@@ -1,14 +1,15 @@
|
|||||||
diff --git a/testing/profiles/profileserver/user.js b/testing/profiles/profileserver/user.js
|
diff --git a/testing/profiles/profileserver/user.js b/testing/profiles/profileserver/user.js
|
||||||
index 19ff7d474f6d22d2d386764e2e6942ce6a324470..62fd56e53bc1cb7b688395badc97820d97a7c767 100644
|
index 19ff7d474f6d22d2d386764e2e6942ce6a324470..40d1906bdebd08510014fd6124be17052248e748 100644
|
||||||
--- a/testing/profiles/profileserver/user.js
|
--- a/testing/profiles/profileserver/user.js
|
||||||
+++ b/testing/profiles/profileserver/user.js
|
+++ b/testing/profiles/profileserver/user.js
|
||||||
@@ -8,3 +8,10 @@
|
@@ -8,3 +8,11 @@
|
||||||
user_pref("dom.timeout.enable_budget_timer_throttling", false);
|
user_pref("dom.timeout.enable_budget_timer_throttling", false);
|
||||||
// Turn off update
|
// Turn off update
|
||||||
user_pref("app.update.disabledForTesting", true);
|
user_pref("app.update.disabledForTesting", true);
|
||||||
+
|
+
|
||||||
+// zen:
|
+// zen:
|
||||||
+// Disable some of zen's features to better match the default Firefox experience
|
+// Disable some of zen's features to better match the default Firefox experience
|
||||||
|
+user_pref("zen.workspaces.enabled", false);
|
||||||
+user_pref("zen.welcome-screen.enabled", false);
|
+user_pref("zen.welcome-screen.enabled", false);
|
||||||
+user_pref("zen.tab-unloader.enabled", false);
|
+user_pref("zen.tab-unloader.enabled", false);
|
||||||
+user_pref("zen.watermark.enabled", false);
|
+user_pref("zen.watermark.enabled", false);
|
||||||
|
Reference in New Issue
Block a user