From e2a5a3a0a1509c8170325287c0d409173b04e4ac Mon Sep 17 00:00:00 2001 From: gnattu Date: Wed, 15 May 2024 22:04:03 +0800 Subject: [PATCH 1/2] fix intel webengine --- scripts/fix-webengine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/fix-webengine.py b/scripts/fix-webengine.py index b0025538..9fb80dae 100644 --- a/scripts/fix-webengine.py +++ b/scripts/fix-webengine.py @@ -22,7 +22,7 @@ def main(argv=tuple(sys.argv[1:])): result = subprocess.check_output(['otool', '-L', str(bin_to_fix.resolve())],stderr=subprocess.STDOUT).decode('utf-8') for dependency in result.splitlines(): dependency = dependency.strip().lstrip() - if dependency.startswith('/opt/homebrew'): + if dependency.startswith('/opt/homebrew') or dependency.startswith('/usr/local'): # cut off trailing compatibility string dependency_str = dependency.split(' (compatibility')[0].strip() dependency_framework_str = dependency_str.split('/lib')[1].strip() From 07dfeab624bd317b7363105ae8ab05bcaec3c68f Mon Sep 17 00:00:00 2001 From: gnattu Date: Wed, 15 May 2024 22:05:26 +0800 Subject: [PATCH 2/2] fix overscroll on 10.9 ui --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 71395bb9..fea3cf9c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,7 +18,7 @@ jobs: - name: Release build run: | ./download_webclient.sh - sed -i '' 's///' ./build/dist/index.html + sed -i '' 's|await loadScript('\''qrc:///qtwebchannel/qwebchannel.js'\'');|document.body.style.overscrollBehavior = "none";&|g' native/nativeshell.js cd build cmake -GNinja -DQTROOT=/usr/local/opt/qt@5 -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=output .. ninja install @@ -46,7 +46,7 @@ jobs: - name: Release build run: | ./download_webclient.sh - sed -i '' 's///' ./build/dist/index.html + sed -i '' 's|await loadScript('\''qrc:///qtwebchannel/qwebchannel.js'\'');|document.body.style.overscrollBehavior = "none";&|g' native/nativeshell.js cd build cmake -GNinja -DQTROOT=/opt/homebrew/opt/qt@5 -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=output .. ninja install