fix: 更新后覆盖文件路径错误
This commit is contained in:
1 parent
95a8cc9498
commit
a876efb95f
1 file changed
+1
-1
@@ -9,7 +9,7 @@ logger: Logger = LogManager.GetLogger(log_name='astrbot')
|
||||
|
||||
class AstrBotUpdator(RepoZipUpdator):
|
||||
def __init__(self):
|
||||
self.MAIN_PATH = os.path.abspath(os.path.join(os.path.dirname(os.path.abspath(__file__)), ".."))
|
||||
self.MAIN_PATH = os.path.abspath(os.path.join(os.path.dirname(os.path.abspath(__file__)), "../../"))
|
||||
self.ASTRBOT_RELEASE_API = "https://api.github.com/repos/Soulter/AstrBot/releases"
|
||||
|
||||
def terminate_child_processes(self):
|
||||
|
||||
Reference in new issue
Block a user