Merge branch 'zen-browser:dev' into dev

This commit is contained in:
Studio Movie Girl
2024-12-01 16:24:42 -06:00
committed by GitHub
11 changed files with 24 additions and 24 deletions

View File

@@ -104,7 +104,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
node-version-file: '.nvmrc'
- name: Setup pnpm
run: npm install -g pnpm
@@ -159,7 +159,7 @@ jobs:
runs-on: ubuntu-latest
needs: [build-data]
steps:
- name: Checkout repository
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: recursive
@@ -168,7 +168,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
node-version-file: '.nvmrc'
- name: Setup pnpm
run: npm install -g pnpm
@@ -220,7 +220,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
node-version-file: '.nvmrc'
- name: Setup Git
run: |
@@ -339,7 +339,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
node-version-file: '.nvmrc'
- name: Install dependencies
run: |

View File

@@ -38,7 +38,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
node-version-file: '.nvmrc'
- name: Setup Git
run: |

View File

@@ -16,7 +16,7 @@ jobs:
mac-build:
name: Build macOS - ${{ matrix.arch }}
runs-on: macos-14
strategy:
fail-fast: false
matrix:
@@ -32,7 +32,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
node-version-file: '.nvmrc'
- name: Setup Python
uses: actions/setup-python@v5
@@ -55,17 +55,17 @@ jobs:
export PATH="$(python3 -m site --user-base)/bin":$PATH
python3 -m pip install --user mercurial
rm '/usr/local/bin/2to3-3.11' '/usr/local/bin/2to3-3.12' '/usr/local/bin/2to3'
rm '/usr/local/bin/idle3.11' '/usr/local/bin/idle3.12' '/usr/local/bin/idle3'
rm '/usr/local/bin/pydoc3.11' '/usr/local/bin/pydoc3.12' '/usr/local/bin/pydoc3'
rm '/usr/local/bin/python3.11' '/usr/local/bin/python3.12' '/usr/local/bin/python3'
rm '/usr/local/bin/2to3-3.11' '/usr/local/bin/2to3-3.12' '/usr/local/bin/2to3'
rm '/usr/local/bin/idle3.11' '/usr/local/bin/idle3.12' '/usr/local/bin/idle3'
rm '/usr/local/bin/pydoc3.11' '/usr/local/bin/pydoc3.12' '/usr/local/bin/pydoc3'
rm '/usr/local/bin/python3.11' '/usr/local/bin/python3.12' '/usr/local/bin/python3'
rm '/usr/local/bin/python3.11-config' '/usr/local/bin/python3.12-config' '/usr/local/bin/python3-config'
brew install watchman
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain 1.79
source $HOME/.cargo/env
if test "${{ matrix.arch }}" = "aarch64"; then
rustup target add aarch64-apple-darwin
else

View File

@@ -17,7 +17,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
node-version-file: '.nvmrc'
- name: Setup pnpm
run: npm install -g pnpm

View File

@@ -27,6 +27,6 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
node-version-file: '.nvmrc'
# TODO:

View File

@@ -36,7 +36,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
node-version-file: '.nvmrc'
- name: Setup Git
run: |

View File

@@ -44,7 +44,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
node-version-file: '.nvmrc'
- name: Setup pnpm
run: npm install -g pnpm

View File

@@ -87,7 +87,7 @@ yay -S zen-browser-avx2-bin
##### Other Linux distributions (AppImage with automated system integration)
- `native` tarball install:
```sudo bash <(curl -s https://updates.zen-browser.app/install.sh)```
```bash <(curl -s https://updates.zen-browser.app/install.sh)```
- `zsync` is required for the Update feature of the script below

View File

@@ -28,18 +28,18 @@ ac_add_options --enable-application=browser
if test "$ZEN_RELEASE"; then
ac_add_options --enable-bootstrap
ac_add_options --enable-release
ac_add_options --disable-debug
ac_add_options --disable-debug-symbols
ac_add_options --disable-debug-js-modules
ac_add_options --disable-tests
ac_add_options --disable-vtune
ac_add_options --enable-rust-simd
ac_add_options --enable-wasm-simd
mk_add_options MOZ_PARALLEL_COMPILE=1
ac_add_options --enable-proxy-bypass-protection

View File

@@ -226,7 +226,7 @@ pref('browser.newtabpage.activity-stream.system.showWeather', true);
pref("browser.toolbars.bookmarks.visibility", "never");
// Enable experimental settings page (Usef for Zen Labs)
// Enable experimental settings page (Used for Zen Labs)
pref('browser.preferences.experimental', true);
#include better-fox.js

View File

@@ -368,8 +368,8 @@ class KeyShortcut {
}
key.setAttribute('group', this.#group);
// note to "mr. macos": We add the `zen-` prefix because since firefox hasnt been built with the
// shortcuts in mind, it will siply just override the shortcuts with whatever the default is.
// note to "mr. macos": We add the `zen-` prefix because firefox hasnt been built with the
// shortcuts in mind, it will simply just override the shortcuts with whatever the default is.
// note that this l10n id is not used for actually translating the key's label, but rather to
// identify the default keybinds.
if (this.#l10nId) {