mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-17 10:00:44 +08:00
chore: 增加一些加载时的日志打印
This commit is contained in:
@@ -46,7 +46,7 @@ bool inited()
|
||||
|
||||
AsstBool AsstSetUserDir(const char* path)
|
||||
{
|
||||
auto os_path = asst::utils::path(path);
|
||||
auto os_path = std::filesystem::absolute(asst::utils::path(path));
|
||||
return asst::UserDir.set(os_path);
|
||||
}
|
||||
|
||||
@@ -54,7 +54,7 @@ AsstBool AsstLoadResource(const char* path)
|
||||
{
|
||||
using namespace asst::utils::path_literals;
|
||||
|
||||
auto os_path = asst::utils::path(path);
|
||||
auto os_path = std::filesystem::absolute(asst::utils::path(path));
|
||||
auto res_path = os_path / "resource"_p;
|
||||
if (asst::ResDir.empty()) {
|
||||
asst::ResDir.set(res_path);
|
||||
|
||||
Reference in New Issue
Block a user