1
0
Fork 1
mirror of https://github.com/zen-browser/desktop.git synced 2025-07-08 19:59:59 +02:00

chore: update @zen-browser/surfer dependency to version 1.11.3 and adjust build scripts for Windows

This commit is contained in:
mr. M 2025-03-31 00:41:07 +02:00
parent 62db2aea7a
commit baf2bc9527
No known key found for this signature in database
GPG key ID: CBD57A2AEDBDA1FB
4 changed files with 7 additions and 8 deletions

View file

@ -65,7 +65,7 @@ jobs:
- name: Setup - name: Setup
run: | run: |
(New-Object System.Net.WebClient).DownloadFile("https://ftp.mozilla.org/pub/mozilla/libraries/win32/MozillaBuildSetup-Latest.exe", "C:\MozillaBuildSetup-Latest.exe") (New-Object System.Net.WebClient).DownloadFile("https://ftp.mozilla.org/pub/mozilla/libraries/win32/MozillaBuildSetup-Latest.exe", "C:\MozillaBuildSetup-Latest.exe")
C:\MozillaBuildSetup-Latest.exe /S | out-null C:\MozillaBuildSetup-Latest.exe /S
- name: Download Firefox and dependencies - name: Download Firefox and dependencies
if: ${{ matrix.arch == 'x86_64' }} if: ${{ matrix.arch == 'x86_64' }}
@ -90,7 +90,6 @@ jobs:
echo "cd $workspace_dir" '' >> mozilla-build-run.sh echo "cd $workspace_dir" '' >> mozilla-build-run.sh
echo 'export PATH=/c/mozilla-build/msys2/usr/bin:$PATH' '' >> mozilla-build-run.sh echo 'export PATH=/c/mozilla-build/msys2/usr/bin:$PATH' '' >> mozilla-build-run.sh
echo './mach --no-interactive bootstrap --application-choice browser' '' >> mozilla-build-run.sh echo './mach --no-interactive bootstrap --application-choice browser' '' >> mozilla-build-run.sh
echo 'ls /c/Users/runneradmin/.mozbuild/clang/bin' '' >> mozilla-build-run.sh
echo 'LLVM_PROFDATA=/c/Users/runneradmin/.mozbuild/clang/bin/llvm-profdata.exe JARLOG_FILE=en-US.log ./mach python build/pgo/profileserver.py --binary /c/artifact/zen/zen.exe' '' >> mozilla-build-run.sh echo 'LLVM_PROFDATA=/c/Users/runneradmin/.mozbuild/clang/bin/llvm-profdata.exe JARLOG_FILE=en-US.log ./mach python build/pgo/profileserver.py --binary /c/artifact/zen/zen.exe' '' >> mozilla-build-run.sh
C:\mozilla-build\start-shell.bat $workspace_dir_current\mozilla-build-run.sh C:\mozilla-build\start-shell.bat $workspace_dir_current\mozilla-build-run.sh

View file

@ -30,7 +30,7 @@ if test "$SURFER_COMPAT" = "x86_64"; then
ac_add_options --target=x86_64-pc-windows-msvc ac_add_options --target=x86_64-pc-windows-msvc
ac_add_options --enable-eme=widevine,wmfcdm ac_add_options --enable-eme=widevine,wmfcdm
ac_add_options --disable-jemalloc # ac_add_options --disable-jemalloc
ac_add_options --enable-optimize="-O3 -w -ftree-vectorize -mfpmath=sse -mprfchw -msse3 -mcx16 -msahf" ac_add_options --enable-optimize="-O3 -w -ftree-vectorize -mfpmath=sse -mprfchw -msse3 -mcx16 -msahf"

8
package-lock.json generated
View file

@ -9,7 +9,7 @@
"version": "1.0.0", "version": "1.0.0",
"license": "MPL-2.0", "license": "MPL-2.0",
"dependencies": { "dependencies": {
"@zen-browser/surfer": "^1.11.2" "@zen-browser/surfer": "^1.11.3"
}, },
"devDependencies": { "devDependencies": {
"husky": "^9.1.7", "husky": "^9.1.7",
@ -288,9 +288,9 @@
"license": "MIT" "license": "MIT"
}, },
"node_modules/@zen-browser/surfer": { "node_modules/@zen-browser/surfer": {
"version": "1.11.2", "version": "1.11.3",
"resolved": "https://registry.npmjs.org/@zen-browser/surfer/-/surfer-1.11.2.tgz", "resolved": "https://registry.npmjs.org/@zen-browser/surfer/-/surfer-1.11.3.tgz",
"integrity": "sha512-YJA2qD4t528eeLnAXNt1jcMnTANgMTOrlo3O/6BYkWjqBxut7NI33uMV3hEIX6zCI0vUxISrbNqkGgiijt5+Rw==", "integrity": "sha512-VOxHeCNenL6F5IreNraEpkXYrrqun3vWp+5AEJ6TqPt64+KYs24AAtGhIiiwqCTfp5Tq2dWicGOwcV9JztLF2w==",
"dependencies": { "dependencies": {
"@resvg/resvg-js": "^1.4.0", "@resvg/resvg-js": "^1.4.0",
"async-icns": "^1.0.2", "async-icns": "^1.0.2",

View file

@ -40,7 +40,7 @@
}, },
"homepage": "https://github.com/zen-browser/desktop#readme", "homepage": "https://github.com/zen-browser/desktop#readme",
"dependencies": { "dependencies": {
"@zen-browser/surfer": "^1.11.2" "@zen-browser/surfer": "^1.11.3"
}, },
"devDependencies": { "devDependencies": {
"husky": "^9.1.7", "husky": "^9.1.7",