Skip to content

Commit

Permalink
module dir
Browse files Browse the repository at this point in the history
  • Loading branch information
ids1024 committed Sep 10, 2024
1 parent cb2fd1e commit 0df4090
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion macos/deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,5 +112,5 @@ def copy_and_install_name_tool(src, dest):

module_dir = f"{RESOURCEDIR}/lib/gdk-pixbuf-2.0/{pixbuf_ver}"
with open(f"{module_dir}/loaders.cache", 'w') as cachefile:
cache = subprocess.check_output(['gdk-pixbuf-query-loaders']).decode()
cache = subprocess.check_output(['gdk-pixbuf-query-loaders'], env=dict(os.environ, GDK_PIXBUF_MODULEDIR=pixbuf_dir)).decode()
cachefile.write(re.sub(f'{PREFIX}/.+/gdk-pixbuf-2.0/', '@executable_path/../Resources/lib/gdk-pixbuf-2.0/', cache))

0 comments on commit 0df4090

Please sign in to comment.