diff options
| author | bh <qn+git@epicurus.dev> | 2026-03-23 21:13:41 +0800 |
|---|---|---|
| committer | bh <qn+git@epicurus.dev> | 2026-03-23 21:13:41 +0800 |
| commit | fd1067b9434b3a161cbd09e0cbffa23151c4c279 (patch) | |
| tree | 21d99573b04605bc870812f8f397bc5149afb902 | |
| parent | 5bca208b0cd31d32cf09a5681dc0e320851cd28d (diff) | |
Fix location of install scripts
| -rwxr-xr-x | .install/aetherfox | 41 | ||||
| -rwxr-xr-x | .install/aur (renamed from aur) | 0 | ||||
| -rwxr-xr-x | .install/install (renamed from install) | 6 | ||||
| -rwxr-xr-x | .install/runall | 8 | ||||
| -rwxr-xr-x | .install/stowall (renamed from stowall) | 0 |
5 files changed, 55 insertions, 0 deletions
diff --git a/.install/aetherfox b/.install/aetherfox new file mode 100755 index 0000000..722560c --- /dev/null +++ b/.install/aetherfox @@ -0,0 +1,41 @@ +#!/usr/bin/env bash +set -euo pipefail + +FIREFOX_DIR="${HOME}/.mozilla/firefox" +REPO_URL="https://github.com/QuixoticNapoleon/AetherFox" + +if [[ ! -d "$FIREFOX_DIR" ]]; then + echo "Firefox profile directory not found: $FIREFOX_DIR" >&2 + exit 1 +fi + +profile_dir="" + +shopt -s nullglob +profiles=( "$FIREFOX_DIR"/*.default-release ) +shopt -u nullglob + +if (( ${#profiles[@]} == 0 )); then + echo "No Firefox .default-release profile found in $FIREFOX_DIR" >&2 + exit 1 +fi + +profile_dir="${profiles[0]}" +chrome_dir="${profile_dir}/chrome" + +mkdir -p "$chrome_dir" + +if [[ -d "$chrome_dir/.git" ]]; then + echo "Git repository already exists in: $chrome_dir" + exit 0 +fi + +echo "No git repository found in: $chrome_dir" +echo "Removing existing contents..." + +find "$chrome_dir" -mindepth 1 -maxdepth 1 -exec rm -rf -- {} + + +echo "Cloning AetherFox into: $chrome_dir" +git clone "$REPO_URL" "$chrome_dir" + +echo "Done." diff --git a/install b/.install/install index 48f0c77..1b5668e 100755 --- a/install +++ b/.install/install @@ -10,6 +10,10 @@ packages=( networkmanager grub pipewire + sudo + cryptsetup + lvm2 + efibootmgr # Disk btrfs-progs @@ -67,6 +71,7 @@ packages=( mpv ripgrep fd + wget bat ffmpeg qemu-full @@ -82,6 +87,7 @@ packages=( slurp tcc tor + trash-cli # Desktop hyprland diff --git a/.install/runall b/.install/runall new file mode 100755 index 0000000..d8e2502 --- /dev/null +++ b/.install/runall @@ -0,0 +1,8 @@ +./install +./aur +./aetherfox + +sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" +sh -c "$(curl -sS https://vencord.dev/install.sh)" + +./stowall diff --git a/stowall b/.install/stowall index ecb899f..ecb899f 100755 --- a/stowall +++ b/.install/stowall |
