Write proper Windows release build script, and update Windows release docs

This commit is contained in:
Micah Lee 2020-11-06 13:24:43 -08:00
parent 7d477103e2
commit f8474c2399
No known key found for this signature in database
GPG key ID: 403C2657CD994F73
5 changed files with 86 additions and 190 deletions

View file

@ -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))