ci: cmdpriv模板脚本

This commit is contained in:
Rock Chin
2023-04-08 00:18:00 +08:00
parent e297763da1
commit 20bf349e4e
2 changed files with 3 additions and 3 deletions

View File

@@ -13,5 +13,5 @@ for key in cmdsmgr.__command_list__:
template[key] = cmdsmgr.__command_list__[key]['privilege']
# 写入cmdpriv-template.json
with open('cmdpriv-template.json', 'w') as f:
with open('res/templates/cmdpriv-template.json', 'w') as f:
f.write(json.dumps(template, indent=4, ensure_ascii=False))