自动资源更新 #10342
Closed
jinghuashang
started this conversation in
Show and tell
自动资源更新
#10342
Replies: 1 comment 1 reply
-
很好的思路,但我的目录不是固定的,可以使用 running_dir = os.path.dirname(os.path.abspath(__file__))
# 默认配置
default_config = {
"github": "https://github.com/MaaAssistantArknights/MaaResource",
"maa": running_dir+"/",
"maaexe": running_dir+"/MAA.exe"
} 大致如下。另外,github部分地区无法使用, 希望可以帮助到大家 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
先叠甲 本人 Python技术并不是很好,如果有大佬欢迎指出问题
程序解释:
食用方法:
将代码添加到Maa开始前内 ( 你也可以打包成exe文件 )
打包方法
启动cmd,输入以下
Beta Was this translation helpful? Give feedback.
All reactions