Skip to content

Commit

Permalink
make sure we get windows release asset
Browse files Browse the repository at this point in the history
  • Loading branch information
dallmeyer committed Aug 11, 2023
1 parent e307eea commit 9f0af9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/launcherUtils.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ def launch(URL, MOD_ID, MOD_NAME, LINK_TYPE):
)
assets = json.loads(json.dumps(requests.get(url=r[0].get("assets_url"), params=PARAMS).json()))
for asset in assets:
if "linux" not in asset.get("name"):
if "linux" not in asset.get("name") and "macos" not in asset.get("name") and "json" not in asset.get("name"):
LatestRelAssetsURL = asset.get("browser_download_url")
break

Expand Down

0 comments on commit 9f0af9b

Please sign in to comment.