diff --git a/docs/en-us/1.5-EMULATOR_SUPPORTS_FOR_LINUX.md b/docs/en-us/1.5-EMULATOR_SUPPORTS_FOR_LINUX.md index 5898e3d3ee..fa5cc67d76 100644 --- a/docs/en-us/1.5-EMULATOR_SUPPORTS_FOR_LINUX.md +++ b/docs/en-us/1.5-EMULATOR_SUPPORTS_FOR_LINUX.md @@ -6,7 +6,7 @@ You can choose one of the following installation methods: ### Use maa-cli -[maa-cli](https://github.com/MaaAssistantArknights/maa-cli) is a simple CLI for MAA by Rust. Please read installation and usage tutorials in [User Guide for CLI](./1.6-USER_GUIDE_FOR_CLI)。 +[maa-cli](https://github.com/MaaAssistantArknights/maa-cli) is a simple CLI for MAA made with Rust. Please read installation and usage tutorials in [User Guide for CLI](./1.6-USER_GUIDE_FOR_CLI). ### Use Python diff --git a/docs/en-us/1.6-USER_GUIDE_FOR_CLI.md b/docs/en-us/1.6-USER_GUIDE_FOR_CLI.md index 711d48e3e6..06497f1057 100644 --- a/docs/en-us/1.6-USER_GUIDE_FOR_CLI.md +++ b/docs/en-us/1.6-USER_GUIDE_FOR_CLI.md @@ -13,7 +13,7 @@ icon: material-symbols:terminal ### Appimage -The CLI is the default interface of MAA on Linux. You can use the CLI directly by [download](https://github.com/MaaAssistantArknights/MaaAssistantArknights/releases/latest) the latest Appimage. +The CLI is the default interface of MAA on Linux. You can use the CLI directly by [downloading](https://github.com/MaaAssistantArknights/MaaAssistantArknights/releases/latest) the latest Appimage. ### Package manager @@ -29,9 +29,9 @@ brew install MaaAssistantArknights/tap/maa-cli - Arch Linux users can install [AUR package](https://aur.archlinux.org/packages/maa-cli/): - ```bash - yay -S maa-cli - ``` + ```bash + yay -S maa-cli + ``` - Nix users can run directly: @@ -45,7 +45,7 @@ brew install MaaAssistantArknights/tap/maa-cli nix run github:Cryolitia/nur-packages#maa-cli-nightly ``` - Stable is the `maa-cli` that packaged in [nixpkgs](https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/by-name/ma/maa-cli/package.nix), using the nixpkgs's Rust toolchain;Nightly is in [NUR](https://github.com/Cryolitia/nur-packages/blob/master/pkgs/maa-assistant-arknights/maa-cli.nix), use the Beta Channel of Rust toolchain, automatically update and builds for verification by Github Action daily. + Stable is the `maa-cli` that is packaged in [nixpkgs](https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/by-name/ma/maa-cli/package.nix), using the nixpkgs's Rust toolchain;Nightly is in [NUR](https://github.com/Cryolitia/nur-packages/blob/master/pkgs/maa-assistant-arknights/maa-cli.nix), it uses the Beta Channel of Rust toolchain, automatically updates and builds for verification by Github Action daily. - For Linux Brew users, you can install with [Linux Brew](https://docs.brew.sh/Homebrew-on-Linux): diff --git a/docs/en-us/2.1-LINUX_TUTORIAL.md b/docs/en-us/2.1-LINUX_TUTORIAL.md index 673f512c6b..9c282805e1 100644 --- a/docs/en-us/2.1-LINUX_TUTORIAL.md +++ b/docs/en-us/2.1-LINUX_TUTORIAL.md @@ -1,6 +1,7 @@ -# Linux Compilation Tutorial +# Linux Compiling Tutorial -**The tutorial requires some basic knowledge about Linux OS!**, If you just want to install MAA directly instead of compiling it yourself, please read [Emulator Support for Linux](./1.5-EMULATOR_SUPPORTS_FOR_LINUX). +**The tutorial requires some basic knowledge about Linux OS!** +If you just want to install MAA directly instead of compiling it yourself, please read [Emulator Support for Linux](./1.5-EMULATOR_SUPPORTS_FOR_LINUX). ::: info **Note** Linux build of MAA is still under discussion, some of the content might be outdated, please follow the script in [GitHub workflow file](../.github/workflows/release-maa-linux.yml), also reference [AUR PKGBUILD](https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=maa-assistant-arknights), [nixpkgs](https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/by-name/ma/maa-assistant-arknights/package.nix) @@ -12,15 +13,15 @@ Linux build of MAA is still under discussion, some of the content might be outda - Ubuntu/Debian - ```bash - sudo apt install gcc-12 g++-12 cmake zlib1g-dev - ``` + ```bash + sudo apt install gcc-12 g++-12 cmake zlib1g-dev + ``` - Arch Linux - ```bash - sudo pacman -S --needed gcc cmake zlib - ``` + ```bash + sudo pacman -S --needed gcc cmake zlib + ``` 2. Build or download third-party libraries