From e4ba80ef639d8003cee983b79c1c7435463258fa Mon Sep 17 00:00:00 2001 From: Jordan Wiens Date: Mon, 30 Sep 2024 16:19:12 -0400 Subject: [PATCH] populate max version if not in plugin.json --- generate_index.py | 2 ++ listing.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/generate_index.py b/generate_index.py index 44eabf3..a2c4f14 100755 --- a/generate_index.py +++ b/generate_index.py @@ -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: diff --git a/listing.json b/listing.json index 5eb156e..67aa250 100644 --- a/listing.json +++ b/listing.json @@ -2,7 +2,7 @@ { "name": "unknowntrojan/binja_coolsigmaker", "view": true - }, + }, { "name": "computerman00/BinaryNinja-PSVitaLoader", "auto_update": true