📦 docs: 资源商店新增发布资源功能

This commit is contained in:
远野千束 2024-09-17 16:01:19 +08:00
parent 7d5675ec97
commit db1fb58717

View File

@ -114,9 +114,9 @@ def add_resource(github: Github, issue: Issue, repo: Repository):
resources = json.load(open(RESOURCE_JSON)) resources = json.load(open(RESOURCE_JSON))
resources.append({ resources.append({
"name" : name, "name" : name,
"desc" : desc, "description": desc,
"link" : link, "link" : link,
"homepage": homepage, "homepage" : homepage,
"author" : author "author" : author
}) })
ref = repo.get_git_ref("heads/main") ref = repo.get_git_ref("heads/main")