Skip to content

Commit 4af0c83

Browse files
committed
Fix resource bundling on Xcode 16.3
1 parent a4d2baf commit 4af0c83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TemplateProject/scripts/prepare_resources-mac.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def main():
2525
if config['PLUG_SHARED_RESOURCES']:
2626
dst = os.path.expanduser("~") + "/Music/" + config['SHARED_RESOURCES_SUBPATH'] + "/Resources"
2727
else:
28-
dst = os.environ["TARGET_BUILD_DIR"] + os.environ["UNLOCALIZED_RESOURCES_FOLDER_PATH"]
28+
dst = os.path.join(os.environ["TARGET_BUILD_DIR"], os.environ["UNLOCALIZED_RESOURCES_FOLDER_PATH"].lstrip('/'))
2929

3030
if os.path.exists(dst) == False:
3131
os.makedirs(dst + "/", 0o0755 )

0 commit comments

Comments
 (0)