Files
MaaAssistantArknights/docs/en-us/manual/cli/faq.md
uye 67bbf9aac5 refactor: website docs **translation needed** (#9287)
Co-authored-by: wlwxj <d1ve_wh4le@outlook.com>
Co-authored-by: Rbqwow <55343783+Rbqwow@users.noreply.github.com>
Co-authored-by: Constrat <56174894+Constrat@users.noreply.github.com>
Co-authored-by: HX3N <scarlet7518@gmail.com>
Co-authored-by: Wallsman <63186641+wallsman@users.noreply.github.com>
Co-authored-by: Loong <wangl.cc@outlook.com>
Co-authored-by: 神代綺凛 <i@loli.best>
Co-authored-by: SherkeyXD <57581480+SherkeyXD@users.noreply.github.com>
2024-07-08 01:57:20 +08:00

1.4 KiB

order, icon
order icon
5 ph:question-fill

FAQs

1. How to use $HOME/.config/maa as the configuration directory on macOS?

Due to the limitation of Directories, maa-cli uses the Apple-style configuration directory on macOS by default. However, the XDG-style configuration directory is more suitable for command-line programs. If you want to use the XDG style configuration directory, you can set the XDG_CONFIG_HOME environment variable, such as export XDG_CONFIG_HOME="$HOME/.config", this will make maa-cli use the XDG style configuration directory. Or you can use the below command to create a symbolic link:

mkdir -p "$HOME/.config/maa"
ln -s "$HOME/.config/maa" "$(maa dir config)"

2. Strange logs appear during running, how to disable them?

When running the maa-cli task, you may see some logs that look like this:

[INFO] ... /fastdeploy/runtime.cc(544)::Init Runtime initialized with Backend::ORT in Device::CPU.

This log is output by fastdeploy, which is a dependency of MaaCore. For the officially compiled MaaCore, this log cannot be closed. However, if you are using a package manager to install maa-cli, you can try installing the package manager's version of MaaCore which uses a newer version of fastdeploy without logs enabled by default.