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 ff7419b153
commit e8cb921747

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