Skip to content

Commit

Permalink
populate max version if not in plugin.json
Browse files Browse the repository at this point in the history
  • Loading branch information
psifertex committed Sep 30, 2024
1 parent 38e3510 commit e4ba80e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions generate_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,8 @@ def getPluginJson(plugin, shortUrls):
data["api"] = [data["api"]]
if ("minimumbinaryninjaversion" not in data or not isinstance(data["minimumbinaryninjaversion"], int)) or ("minimumBinaryNinjaVersion" not in data or not isinstance(data["minimumBinaryNinjaVersion"], int)):
data["minimumBinaryNinjaVersion"] = 0
if ("maximumBinaryNinjaVersion" not in data or not isinstance(data["maximumBinaryNinjaVersion"], int)):
data["maximumBinaryNinjaVersion"] = 999999
if "platforms" not in data:
data["platforms"] = []
if "installinstructions" not in data:
Expand Down
2 changes: 1 addition & 1 deletion listing.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{
"name": "unknowntrojan/binja_coolsigmaker",
"view": true
},
},
{
"name": "computerman00/BinaryNinja-PSVitaLoader",
"auto_update": true
Expand Down

0 comments on commit e4ba80e

Please sign in to comment.