Files
MaaAssistantArknights/docs/en-us/user_manual_for_cli/cli-faq.md
Loong adcfb3dcf4 chore: bump maa-cli to v0.4.7 and update docs
- Bump maa-cli from v0.4.5 to v0.4.7
- Rename cli directory to user_manual_for_cli
- Change some icon of files
- Update cli documentation in en-us as same structure as zh-cn
2024-04-29 19:40:27 +08:00

1.4 KiB

order, icon
order icon
5 ph:question-fill

FAQs for maa-cli

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.