We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a4d2baf commit 4af0c83Copy full SHA for 4af0c83
TemplateProject/scripts/prepare_resources-mac.py
@@ -25,7 +25,7 @@ def main():
25
if config['PLUG_SHARED_RESOURCES']:
26
dst = os.path.expanduser("~") + "/Music/" + config['SHARED_RESOURCES_SUBPATH'] + "/Resources"
27
else:
28
- dst = os.environ["TARGET_BUILD_DIR"] + os.environ["UNLOCALIZED_RESOURCES_FOLDER_PATH"]
+ dst = os.path.join(os.environ["TARGET_BUILD_DIR"], os.environ["UNLOCALIZED_RESOURCES_FOLDER_PATH"].lstrip('/'))
29
30
if os.path.exists(dst) == False:
31
os.makedirs(dst + "/", 0o0755 )
0 commit comments