Fix bug when add-on package string is ""

which deleted the entire add-on folder
This commit is contained in:
bluegreenmagick 2021-08-27 21:49:55 +09:00
parent 3077a1f98a
commit 20424a7ef7

View File

@ -157,7 +157,7 @@ class AddonManager:
"type": "object",
"properties": {
# the name of the folder
"package": {"type": "string", "meta": False},
"package": {"type": "string", "minLength": 1, "meta": False},
# the displayed name to the user
"name": {"type": "string", "meta": True},
# the time the add-on was last modified