mirror of
https://github.com/m5stack/StackFlow.git
synced 2026-05-20 11:32:11 -07:00
[fix] static_lib version auto update
This commit is contained in:
@@ -26,4 +26,6 @@ if update:
|
||||
exec(f.read())
|
||||
down_url = "https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/linux/llm/static_lib_{}.tar.gz".format(version)
|
||||
down_path = check_wget_down(down_url, "static_lib_{}.tar.gz".format(version))
|
||||
if os.path.exists(static_lib):
|
||||
shutil.rmtree(static_lib)
|
||||
shutil.move(down_path, static_lib)
|
||||
|
||||
Reference in New Issue
Block a user