Skip to content

Commit

Permalink
QQ:激活内置NapCat的资源分发流程
Browse files Browse the repository at this point in the history
  • Loading branch information
MetaLe0 committed May 28, 2024
1 parent a517938 commit 7a434c9
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions OlivOS/libBooter/libNapCatEXEModelAPI.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,14 @@ def startNapCatLibExeModel(
flagActive = True
if flagActive:
releaseDir('./lib')
#OlivOS.updateAPI.checkResouceFile(
# logger_proc=Proc_dict[basic_conf_models_this['logger_proc']],
# resouce_api=resourceUrlPath,
# resouce_name='NapCat',
# filePath='./lib/NapCat.zip',
# filePathUpdate='./lib/NapCat.zip.tmp',
# filePathFORCESKIP='./lib/FORCESKIP'
#)
OlivOS.updateAPI.checkResouceFile(
logger_proc=Proc_dict[basic_conf_models_this['logger_proc']],
resouce_api=resourceUrlPath,
resouce_name='NapCat',
filePath='./lib/NapCat.zip',
filePathUpdate='./lib/NapCat.zip.tmp',
filePathFORCESKIP='./lib/FORCESKIP'
)
for bot_info_key in plugin_bot_info_dict:
if plugin_bot_info_dict[bot_info_key].platform['model'] in gCheckList:
tmp_Proc_name = basic_conf_models_this['name'] + '=' + bot_info_key
Expand Down

0 comments on commit 7a434c9

Please sign in to comment.