0.1.0 |
|
---|
#103 in #portable
18KB
402 代码行
asahi-portable
便携式Asahi Linux(或其他Apple Silicon兼容发行版)离线安装器创建器
用法
安装
cargo install asahi-portable
用法
$ asahi-portable -h
Usage: asahi-portable [OPTIONS] --outdir <OUTDIR>
Options:
--version-flag <VERSION_FLAG>
URL, containing version flag [default: https://cdn.asahilinux.org/installer/latest]
--installer-base <INSTALLER_BASE>
URL, containing installer_base variable [default: https://cdn.asahilinux.org/installer]
--repo-base <REPO_BASE>
URL, containing repo_base variable [default: https://cdn.asahilinux.org/]
--installer-data <INSTALLER_DATA>
URL, that contains installer_data.json [default: https://github.com/AsahiLinux/asahi-installer/raw/prod/data/installer_data.json]
-o, --outdir <OUTDIR>
Directory where portable installer may be located. (If doesn't exists will be created)
-d, --debug
Enables debug mode (don't create + copy to outdir + don't remove tmpdir + print tmpdir path)
-h, --help
Print help
-V, --version
Print version
依赖项
~2.7–4MB
~103K SLoC