diff --git a/commands/setup-util-alacritty b/commands/setup-util-alacritty new file mode 100755 index 000000000..a67d10ac0 --- /dev/null +++ b/commands/setup-util-alacritty @@ -0,0 +1,25 @@ +#!/usr/bin/env bash + +# https://repology.org/project/alacritty/versions + +function setup_util_alacritty() ( + source "$DOROTHY/sources/bash.bash" + + # apt is out of date + # v0.13 is only one that supports .toml, which is the only documented configuration format + local options=( + --app='Alacritty' + --cli=alacritty + "$@" + AUR='alacritty' + CASK='alacritty' + SNAP='alacritty --edge --classic' + WINGET='alacritty' + ) + setup-util "${options[@]}" +) + +# fire if invoked standalone +if test "$0" = "${BASH_SOURCE[0]}"; then + setup_util_alacritty "$@" +fi diff --git a/commands/setup-util-hyper b/commands/setup-util-hyper new file mode 100755 index 000000000..409c43cd3 --- /dev/null +++ b/commands/setup-util-hyper @@ -0,0 +1,67 @@ +#!/usr/bin/env bash + +# https://repology.org/project/hyper-terminal/versions +# https://hyper.is/#installation + +function setup_util_hyper() ( + source "$DOROTHY/sources/bash.bash" + + # determine the options + local arch options=( + --name='Hyper' + --app='Hyper' + --cli=hyper + "$@" + AUR='hyper' + CASK='hyper' + CHOCO='hyper' + NIX='hyper' + WINGET='Hyper' + ) + arch="$(get-arch)" + if is-mac; then + if test "$arch" = 'a64'; then + options+=( + DOWNLOAD='https://releases.hyper.is/download/mac' + DOWNLOAD_ARCHIVE_GLOB='*/Hyper.app' + DOWNLOAD_FILENAME='Hyper.app' + ) + elif test "$arch" = 'x64'; then + options+=( + DOWNLOAD='https://releases.hyper.is/download/mac_arm64' + DOWNLOAD_ARCHIVE_GLOB='*/Hyper.app' + DOWNLOAD_FILENAME='Hyper.app' + ) + fi + elif is-linux; then + if test "$arch" = 'a64'; then + options+=( + DEB='hhttps://releases.hyper.is/download/deb_arm64' + RPM='https://releases.hyper.is/download/rpm_arm64' + ) + if is-appimage; then + options+=( + DOWNLOAD='https://releases.hyper.is/download/AppImage_arm64' + DOWNLOAD_FILENAME='Hyper.appimage' + ) + fi + elif test "$arch" = 'x64'; then + options+=( + DEB='https://releases.hyper.is/download/deb' + RPM='https://releases.hyper.is/download/rpm' + ) + if is-appimage; then + options+=( + DOWNLOAD='https://releases.hyper.is/download/AppImage' + DOWNLOAD_FILENAME='Hyper.appimage' + ) + fi + fi + fi + setup-util "${options[@]}" +) + +# fire if invoked standalone +if test "$0" = "${BASH_SOURCE[0]}"; then + setup_util_hyper "$@" +fi diff --git a/commands/setup-util-teip b/commands/setup-util-teip index cbb55057a..b283f79c9 100755 --- a/commands/setup-util-teip +++ b/commands/setup-util-teip @@ -4,17 +4,17 @@ # cut alternative # https://github.com/greymd/teip/releases -# teip-2.3.0.aarch64-apple-darwin.tar.gz -# teip-2.3.0.aarch64-unknown-linux-musl.deb -# teip-2.3.0.aarch64-unknown-linux-musl.rpm -# teip-2.3.0.aarch64-unknown-linux-musl.tar.gz -# teip-2.3.0.arm-unknown-linux-gnueabihf.deb -# teip-2.3.0.arm-unknown-linux-gnueabihf.tar.gz -# teip-2.3.0.x86_64-apple-darwin.tar.gz -# teip-2.3.0.x86_64-unknown-linux-musl.deb -# teip-2.3.0.x86_64-unknown-linux-musl.rpm -# teip-2.3.0.x86_64-unknown-linux-musl.tar.gz -# teip_installer-2.3.0-x86_64-pc-windows-msvc.exe +# teip-2.3.2.aarch64-apple-darwin.tar.gz +# teip-2.3.2.aarch64-unknown-linux-musl.deb +# teip-2.3.2.aarch64-unknown-linux-musl.rpm +# teip-2.3.2.aarch64-unknown-linux-musl.tar.gz +# teip-2.3.2.arm-unknown-linux-gnueabihf.deb +# teip-2.3.2.arm-unknown-linux-gnueabihf.tar.gz +# teip-2.3.2.x86_64-apple-darwin.tar.gz +# teip-2.3.2.x86_64-unknown-linux-musl.deb +# teip-2.3.2.x86_64-unknown-linux-musl.rpm +# teip-2.3.2.x86_64-unknown-linux-musl.tar.gz +# teip_installer-2.3.2-x86_64-pc-windows-msvc.exe # arm64 # https://github.com/greymd/teip/issues/23