mirror of
https://github.com/zen-browser/desktop.git
synced 2025-10-16 14:56:14 +00:00
Temporary fix to opening extensions (#34) and added update server support
This commit is contained in:
21
.github/workflows/alpha.yml
vendored
21
.github/workflows/alpha.yml
vendored
@@ -580,25 +580,20 @@ jobs:
|
|||||||
- name: List
|
- name: List
|
||||||
run: find .
|
run: find .
|
||||||
|
|
||||||
- name: Checkout tools repo
|
- name: Clone updates repo
|
||||||
uses: actions/checkout@v3
|
run: git clone https://github.com/zen-browser/updates-server.git
|
||||||
with:
|
|
||||||
repository: zen-browser/desktop
|
|
||||||
path: updates
|
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
|
|
||||||
- name: Pull tools repo
|
|
||||||
run: git pull && git checkout main
|
|
||||||
|
|
||||||
- name: Copy update manifests
|
- name: Copy update manifests
|
||||||
run: |
|
run: |
|
||||||
mkdir -p updates/updates
|
cd updates-server
|
||||||
cp -a linux_update_manifest/. updates/updates/
|
mkdir -p updates
|
||||||
cp -a windows_update_manifest/. updates/updates/
|
cp -a ../linux_update_manifest/. updates/
|
||||||
|
cp -a ../windows_update_manifest/. updates/
|
||||||
|
|
||||||
- uses: stefanzweifel/git-auto-commit-action@v4
|
- uses: stefanzweifel/git-auto-commit-action@v4
|
||||||
with:
|
with:
|
||||||
commit_message: 🔖 Upload update manifests ${{ needs.build-data.outputs.version }}
|
commit_message: 🔖 Upload update manifests ${{ needs.build-data.outputs.version }}
|
||||||
commit_user_name: Zen Browser Robot
|
commit_user_name: Zen Browser Robot
|
||||||
commit_user_email: zen-browser-bot@users.noreply.github.com
|
commit_user_email: zen-browser-bot@users.noreply.github.com
|
||||||
repository: ./updates
|
repository: ./updates-server
|
||||||
|
|
||||||
|
@@ -1,6 +1,5 @@
|
|||||||
# Browser branding
|
# Browser branding
|
||||||
ac_add_options --enable-update-channel=release
|
ac_add_options --enable-update-channel=release
|
||||||
ac_add_options --with-ccache=sccache
|
|
||||||
ac_add_options --without-wasm-sandboxed-libraries
|
ac_add_options --without-wasm-sandboxed-libraries
|
||||||
|
|
||||||
# ac_add_options --with-branding=beta
|
# ac_add_options --with-branding=beta
|
||||||
@@ -28,5 +27,14 @@ export MOZ_SOURCE_CHANGESET=${changeset}
|
|||||||
|
|
||||||
ac_add_options --enable-bootstrap
|
ac_add_options --enable-bootstrap
|
||||||
|
|
||||||
|
ac_add_options --enable-application=browser
|
||||||
|
ac_add_options --enable-hardening
|
||||||
|
ac_add_options --enable-rust-simd
|
||||||
|
ac_add_options --enable-release
|
||||||
|
ac_add_options --enable-optimize
|
||||||
|
ac_add_options --with-ccache=sccache
|
||||||
|
ac_add_options --disable-debug
|
||||||
|
ac_add_options --enable-updater
|
||||||
|
|
||||||
# ALWAYS MANTAIN ONE LINE BREAK AT THE END OF THIS FILE
|
# ALWAYS MANTAIN ONE LINE BREAK AT THE END OF THIS FILE
|
||||||
|
|
||||||
|
@@ -1,12 +1,12 @@
|
|||||||
# Optimise builds
|
# Optimise builds
|
||||||
ac_add_options --enable-application=browser
|
# ac_add_options --enable-application=browser
|
||||||
ac_add_options --enable-hardening
|
# ac_add_options --enable-hardening
|
||||||
ac_add_options --enable-rust-simd
|
# ac_add_options --enable-rust-simd
|
||||||
ac_add_options --enable-release
|
# ac_add_options --enable-release
|
||||||
ac_add_options --enable-optimize
|
# ac_add_options --enable-optimize
|
||||||
ac_add_options --with-ccache=sccache
|
# ac_add_options --with-ccache=sccache
|
||||||
ac_add_options --disable-debug
|
# ac_add_options --disable-debug
|
||||||
ac_add_options --enable-updater
|
# ac_add_options --enable-updater
|
||||||
|
|
||||||
# Disable telemetry and tracking
|
# Disable telemetry and tracking
|
||||||
mk_add_options MOZ_TELEMETRY_REPORTING=
|
mk_add_options MOZ_TELEMETRY_REPORTING=
|
||||||
|
@@ -5,12 +5,10 @@
|
|||||||
"binaryName": "zen",
|
"binaryName": "zen",
|
||||||
"version": {
|
"version": {
|
||||||
"product": "firefox",
|
"product": "firefox",
|
||||||
"version": "127.0.2",
|
"version": "127.0.2"
|
||||||
"displayVersion": "1.0.0"
|
|
||||||
},
|
},
|
||||||
"buildOptions": {
|
"buildOptions": {
|
||||||
"generateBranding": true,
|
"generateBranding": true
|
||||||
"windowsUseSymbolicLinks": false
|
|
||||||
},
|
},
|
||||||
"addons": {},
|
"addons": {},
|
||||||
"brands": {
|
"brands": {
|
||||||
@@ -46,5 +44,6 @@
|
|||||||
".*\\.json"
|
".*\\.json"
|
||||||
],
|
],
|
||||||
"licenseType": "MPL-2.0"
|
"licenseType": "MPL-2.0"
|
||||||
}
|
},
|
||||||
|
"updateHostname": "zen-updates.vercel.app"
|
||||||
}
|
}
|
@@ -51,6 +51,11 @@ button {
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#theme .card[disabled="true"] {
|
||||||
|
opacity: 0.7;
|
||||||
|
cursor: not-allowed;
|
||||||
|
}
|
||||||
|
|
||||||
.cardGroup {
|
.cardGroup {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
|
@@ -134,11 +134,18 @@ class Themes extends Page {
|
|||||||
container.classList.add('card');
|
container.classList.add('card');
|
||||||
container.classList.add('card-no-hover');
|
container.classList.add('card-no-hover');
|
||||||
|
|
||||||
|
if (theme.id == "firefox-compact-dream@mozilla.org" || theme.id == "firefox-compact-galaxy@mozilla.org") {
|
||||||
|
container.setAttribute('disabled', 'true')
|
||||||
|
}
|
||||||
|
|
||||||
if (theme.isActive) {
|
if (theme.isActive) {
|
||||||
container.classList.add('selected')
|
container.classList.add('selected')
|
||||||
}
|
}
|
||||||
|
|
||||||
container.addEventListener('click', () => {
|
container.addEventListener('click', () => {
|
||||||
|
if (container.hasAttribute('disabled')) {
|
||||||
|
return
|
||||||
|
}
|
||||||
document.body.classList.add('normal-background');
|
document.body.classList.add('normal-background');
|
||||||
themeElements.forEach((el) => el.classList.remove('selected'))
|
themeElements.forEach((el) => el.classList.remove('selected'))
|
||||||
container.classList.add('selected')
|
container.classList.add('selected')
|
||||||
|
15
src/gfx/wr/webrender/src/util-rs.patch
Normal file
15
src/gfx/wr/webrender/src/util-rs.patch
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
diff --git a/gfx/wr/webrender/src/util.rs b/gfx/wr/webrender/src/util.rs
|
||||||
|
index fa02d87b91c961c08da1a03357f514c71e508476..1d5ca171b7ac5c4369299a1623021279fd8801ad 100644
|
||||||
|
--- a/gfx/wr/webrender/src/util.rs
|
||||||
|
+++ b/gfx/wr/webrender/src/util.rs
|
||||||
|
@@ -164,7 +164,9 @@ impl ScaleOffset {
|
||||||
|
m.m34.abs() > NEARLY_ZERO ||
|
||||||
|
m.m43.abs() > NEARLY_ZERO ||
|
||||||
|
(m.m44 - 1.0).abs() > NEARLY_ZERO {
|
||||||
|
- return None;
|
||||||
|
+ // Ignore this error, this change fixes the bug that crashes when opening an extension popup
|
||||||
|
+ printf("zen bug: Not a pure scale / translation");
|
||||||
|
+ //return None;
|
||||||
|
}
|
||||||
|
|
||||||
|
Some(ScaleOffset {
|
Reference in New Issue
Block a user