summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2021-11-26 18:39:26 +0100
committerFlorian Bruhin <me@the-compiler.org>2021-11-26 18:39:26 +0100
commite407217efc00ad9435dc4400a0fa03b28dec944b (patch)
tree6a1281a3731a5d366d77fc9281c90eeab045da62 /scripts
parent30ef5d1069346e89f352b3814761175316b29c02 (diff)
downloadqutebrowser-e407217efc00ad9435dc4400a0fa03b28dec944b.tar.gz
qutebrowser-e407217efc00ad9435dc4400a0fa03b28dec944b.zip
scripts: Disable duplicate file removing for macOS for now
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/dev/build_release.py34
1 files changed, 17 insertions, 17 deletions
diff --git a/scripts/dev/build_release.py b/scripts/dev/build_release.py
index a8c9177ad..cfa5cf892 100755
--- a/scripts/dev/build_release.py
+++ b/scripts/dev/build_release.py
@@ -232,23 +232,23 @@ def patch_mac_app():
plistlib.dump(plist_data, f)
# Replace some duplicate files by symlinks
- framework_path = os.path.join(app_path, 'Contents', 'MacOS', 'PyQt6',
- 'Qt', 'lib', 'QtWebEngineCore.framework')
-
- core_lib = os.path.join(framework_path, 'Versions', '6', 'QtWebEngineCore')
- os.remove(core_lib)
- core_target = os.path.join(*[os.pardir] * 7, 'MacOS', 'QtWebEngineCore')
- os.symlink(core_target, core_lib)
-
- framework_resource_path = os.path.join(framework_path, 'Resources')
- for name in os.listdir(framework_resource_path):
- file_path = os.path.join(framework_resource_path, name)
- target = os.path.join(*[os.pardir] * 5, name)
- if os.path.isdir(file_path):
- shutil.rmtree(file_path)
- else:
- os.remove(file_path)
- os.symlink(target, file_path)
+ #framework_path = os.path.join(app_path, 'Contents', 'MacOS', 'PyQt6',
+ # 'Qt', 'lib', 'QtWebEngineCore.framework')
+
+ #core_lib = os.path.join(framework_path, 'Versions', '6', 'QtWebEngineCore')
+ #os.remove(core_lib)
+ #core_target = os.path.join(*[os.pardir] * 7, 'MacOS', 'QtWebEngineCore')
+ #os.symlink(core_target, core_lib)
+
+ #framework_resource_path = os.path.join(framework_path, 'Resources')
+ #for name in os.listdir(framework_resource_path):
+ # file_path = os.path.join(framework_resource_path, name)
+ # target = os.path.join(*[os.pardir] * 5, name)
+ # if os.path.isdir(file_path):
+ # shutil.rmtree(file_path)
+ # else:
+ # os.remove(file_path)
+ # os.symlink(target, file_path)
INFO_PLIST_UPDATES = {