# ish-setup **Repository Path**: lfnpcsoft_admin/ish-setup ## Basic Information - **Project Name**: ish-setup - **Description**: A repo helps building iSH easier. - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2022-04-01 - **Last Updated**: 2022-07-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # ish-setup #### 介绍 A repo helps building iSH easier. #### 软件架构 要求macOS Intel/Apple Silicon #### 安装教程 一、配置iSH的Git仓库 ```zsh git clone https://gitee.com/lfnpcsoft_admin/ish-setup.git --depth=1 cd ish-setup zsh setup.sh #此命令仅会配置iSH的Git仓库,不会编译 ``` 二、编译iSH的第一部分(Compiling through terminal) 1. Requirements: (1) Python3 installed. Also install module meson. ```zsh pip install meson ``` (2) Ninja 1. Download from https://ninjabuild.org/ 2. Get through Homebrew ```zsh brew install ninja ``` (In fact, I find Homebrew better, because the compiler can only get through the Homebrew version.) (3) llvm ```zsh brew install llvm #别忘设置环境变量! ``` (4) libarchive ```zsh brew install libarchive #也不要忘记设置环境变量! ``` 2. What you need more iSH运行x86架构的Alpine Linux, 所以你需要从Alpine网站下载最小文件系统。 推荐的镜像站: https://mirrors.tuna.tsinghua.edu.cn/alpine/latest-stable/releases/x86 请将下载好的文件重命名为alpine.tar.gz。 3. 开始编译! ```zsh zsh compile.sh ``` 三、编译iSH的第二部分 启动Xcode打开iSH.xcodeproj,开始编译!