chore: Update preferences for legacy toolbar location in zen browser UI

This commit is contained in:
mauro-balades
2024-09-02 22:21:57 +02:00
parent 54395acd2a
commit acf057acc5
5 changed files with 16 additions and 4 deletions

View File

@@ -132,7 +132,7 @@ jobs:
ls engine
ls engine/obj-${{ matrix.arch == 'x64' && 'x86_64' || 'aarch64' }}-apple-darwin
ls engine/obj-${{ matrix.arch == 'x64' && 'x86_64' || 'aarch64' }}-apple-darwin/dist
chmod +x ./build/codesign/codesign.bash
chmod +x ./build/codesign/sign.bash
./build/codesign/sign.bash \
-a "./engine/obj-${{ matrix.arch == 'x64' && 'x86_64' || 'aarch64' }}-apple-darwin/dist/Zen Browser.app" \
-i "${{ secrets.macOS_AppleDeveloperId }}" \
@@ -149,6 +149,10 @@ jobs:
mv ./dist/*.dmg "zen.macos-${{ matrix.arch }}.dmg"
mv ./dist/output.mar macos-${{ matrix.arch }}.mar
- name: Sign to .dmg
run: |
codesign -s "${{ secrets.macOS_AppleDeveloperId }}" zen.macos-${{ matrix.arch }}.dmg
- name: Upload artifact
uses: actions/upload-artifact@v4
with:

View File

@@ -20,7 +20,7 @@ if test "$SURFER_COMPAT" = "true"; then
export CPPFLAGS="-O3 -march=nehalem"
export CXXFLAGS="-O3 -march=nehalem"
export LDFLAGS="-Wl,-O3 -march=nehalem"
export RUSTFLAGS="-Clink-args=--icf=safe -Ctarget-cpu=nehalem -C codegen-units=1"
export RUSTFLAGS="-Ctarget-cpu=nehalem -C codegen-units=1"
else
ac_add_options --target=aarch64-apple-darwin
@@ -30,7 +30,7 @@ else
export CPPFLAGS="-O3 -march=armv8.3-a+simd -mcpu=apple-m1"
export CXXFLAGS="-O3 -march=armv8.3-a+simd -mcpu=apple-m1"
export LDFLAGS="-Wl,-O3 -march=armv8.3-a+simd -mcpu=apple-m1"
export RUSTFLAGS="-Clink-args=--icf=safe -C target-feature=+v8.3a -C codegen-units=1 -Ctarget-cpu=apple-m1"
export RUSTFLAGS="-C target-feature=+v8.3a -C codegen-units=1 -Ctarget-cpu=apple-m1"
fi
export VERBOSE=1
export POLLY="-mllvm -polly -mllvm -polly-2nd-level-tiling -mllvm -polly-loopfusion-greedy -mllvm -polly-pattern-matching-based-opts -mllvm -polly-position=before-vectorizer -mllvm -polly-vectorizer=stripmine"

2
l10n

Submodule l10n updated: d03118f495...ce59592742

View File

@@ -501,5 +501,10 @@ Preferences.addAll([
id: "zen.keyboard.shortcuts.disable-firefox",
type: "bool",
default: false,
},
{
id: "zen.themes.tabs.legacy-location",
type: "bool",
default: false,
}
]);

View File

@@ -32,6 +32,9 @@
data-l10n-id="zen-look-and-feel-compact-view-top-toolbar"
preference="zen.view.compact.hide-toolbar"/>
</vbox>
<checkbox id="zenLooksAndFeelShowLegacyToolbar"
data-l10n-id="zen-look-and-feel-legacy-toolbar"
preference="zen.themes.tabs.legacy-location"/>
</groupbox>
<hbox id="zenThemeCategory"