summaryrefslogtreecommitdiff
path: root/desktop/package/macos/build.py
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/package/macos/build.py')
-rwxr-xr-xdesktop/package/macos/build.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/package/macos/build.py b/desktop/package/macos/build.py
index 1c5e6a95..0cf3c57c 100755
--- a/desktop/package/macos/build.py
+++ b/desktop/package/macos/build.py
@@ -36,7 +36,7 @@ def main():
print("○ Building onionshare-cli")
run(["poetry", "install"], cli_dir)
run(["poetry", "build"], cli_dir)
- whl_filename = glob.glob(f"{cli_dir}/dist/*.whl")[0]
+ whl_filename = glob.glob(os.path.join(cli_dir, "dist", "*.whl"))[0]
whl_basename = os.path.basename(whl_filename)
shutil.copyfile(whl_filename, os.path.join(desktop_dir, whl_basename))