Failed to load resource
Closed this issue · 4 comments
Windsland52 commented
第一次运行,下的最新release版本,运行时报错。
终端信息:
[2024-02-20 11:28:45.939][ERR][Px13788][Tx30830][PipelineResMgr.cpp][L56][MaaNS::ResourceNS::PipelineResMgr::load_all_json] path not exists
[2024-02-20 11:28:45.940][ERR][Px13788][Tx30830][PipelineResMgr.cpp][L21][MaaNS::ResourceNS::PipelineResMgr::load] load_all_json failed [path=/resource/base/pipeline]
[2024-02-20 11:28:45.943][ERR][Px13788][Tx30830][ResourceMgr.cpp][L99][MaaNS::ResourceNS::ResourceMgr::get_hash] path not exists or not a directory [p=/resource/base]
Failed to load resource
这是啥情况啊
附maa.log
MistEO commented
奇怪,我也没看懂,你怎么打开的?argv[0] 貌似传进来了个空字符串。。
Windsland52 commented
奇怪,我也没看懂,你怎么打开的?argv[0] 貌似传进来了个空字符串。。
又重新试了下,直接双击exe文件打开运行又没有问题了QAQ
之前的操作是在当前文件夹的地址栏输入cmd回车进入,然后在命令行里输入MaaPiCli.exe
,这样运行就会报上面的错误
Windsland52 commented
MistEO commented
那看来用 cmd 打开进来的参数不太一样,我研究研究