Skip to content

Commit

Permalink
fix: 修复下载更新后压缩包不解压的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Soulter committed Sep 21, 2024
1 parent 1fa1106 commit 3b77df0
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions util/updator/astrbot_updator.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,3 @@ async def update(self, reboot = False, latest = True, version = None):

if reboot:
self._reboot()

def unzip_file(self, zip_path: str, target_dir: str):
'''
解压缩文件, 并将压缩包内**第一个**文件夹内的文件移动到 target_dir
'''
pass

0 comments on commit 3b77df0

Please sign in to comment.