#portable #installer #url #flags #version #asahi #out-dir

yanked asahi-portable

Program to make any Asahi Linux installer portable

0.1.0 Apr 30, 2023

#99 in #installer

MIT license

18KB
402 lines

asahi-portable

Portable Asahi Linux (or other Apple Silicon compatible distro) offline installer creator

Usage

Installation

cargo install asahi-portable

Usage

$ 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

Dependencies

~2.7–4MB
~91K SLoC