add retroarch, nvidia - java - internet refactor

- NVIDIA CUDA extrepo refactor in `modules/gpu/nvidia.sh`: removed unnecessary `i386_active` lines, updated warning to reference `v590 (unified metapackage)`, simplified installation from 18+10 versioned packages → `nvidia-driver-pinning-590 nvidia-driver firmware-nvidia-gsp`, eliminated `apt-mark hold` since pinning packages now handle it. DKMS verification and `NVIDIA_DRIVER_MODE="cuda-repo"` preserved.
- CUDA repo case fix in `modules/gaming.sh`: replaced silent bypass with detection of `nvidia-driver-libs:i386` v590 installation; if missing, prompts user confirmation before installing via active CUDA repo + pinning.
- Palemoon internet module overhaul (`modules/extras/internet/internet.sh`): removed deprecated `_enable_palemoon_repo()`, created new `install_palemoon()` with AVX2→AVX→SSE2 CPU detection from `/proc/cpuinfo`, proper `extrepo enable` call, and package installation.
- ProtonVPN module rewrite (`modules/extras/internet/internet.sh`): removed broken `_enable_protonvpn_repo()` that failed due to missing suite; created new `install_protonvpn()` using `stable` suite + `proton-vpn-gtk-app` package with proper validation.
- Java/Minecraft rename across `modules/gaming.sh` and `modules/extras/java.sh`: renamed `_install_gaming_java()` → `install_minecraft_java()`, updated menu title from "Java Runtimes for Gaming" to "Java Runtimes for Minecraft", changed whiptail tag from `"java-jre"` to `"java"`.
- RetroArch + 4 classic cores (`modules/gaming/tools.sh` and `.sh`): added RetroArch entry to gaming menu, new case handler in `gaming.sh`, updated installation command to include `libretro-mgba libretro-snes9x libretro-nestopia libretro-gambatte`, enhanced notice with emojis, core enumeration, DFSG warning, and wiki link.
- OnlyOffice server status (`modules/extras/office/office.sh`): added fallback message for slow or down OnlyOffice servers to improve user experience during installation.
- Full syntax validation: all modified files pass `bash -n` without errors; no residual references to old variables (`i386_active`, `590.48.01`) or functions remain.
- Documentation about Debian and the script is added to supplement important information.
- update README.md
This commit is contained in:
stornic56
2026-06-20 21:54:59 -05:00
committed by GitHub
parent 3e96906d6e
commit 2708d6dcb5
16 changed files with 1449 additions and 108 deletions
+50 -14
View File
@@ -32,12 +32,42 @@ _enable_floorp_repo() {
_run_cmd "APT Update" "sudo apt update" "Updating package lists..."
}
_enable_palemoon_repo() {
if [ ! -f /etc/apt/sources.list.d/extrepo_palemoon.sources ]; then
_ensure_extrepo
_run_cmd "Pale Moon" "sudo extrepo enable palemoon" "Enabling Pale Moon repository..."
install_palemoon() {
if [ "$DEBIAN_VERSION" -lt 12 ] 2>/dev/null; then
_msg "Pale Moon" "Pale Moon is only available on\nDebian 12 (Bookworm) and 13 (Trixie).\n\nSkipping installation." 10 60
return 1
fi
local cpu_flags cpu_label REPO_PALEMOON
cpu_flags=$(grep -m1 '^flags' /proc/cpuinfo 2>/dev/null)
if echo "$cpu_flags" | grep -q 'avx2'; then
REPO_PALEMOON="palemoon_avx2_gtk3"
cpu_label="AVX2"
elif echo "$cpu_flags" | grep -q 'avx'; then
REPO_PALEMOON="palemoon_avx_gtk3"
cpu_label="AVX"
else
REPO_PALEMOON="palemoon_sse2_gtk3"
cpu_label="SSE2"
fi
_msg "Pale Moon" "CPU detected: ${cpu_label} support.\n\nEnabling optimized repository:\n ${REPO_PALEMOON}" 10 60
if ls /etc/apt/sources.list.d/extrepo_palemoon_*.sources &>/dev/null; then
echo "Pale Moon repository already enabled."
else
_ensure_extrepo
_run_cmd "Pale Moon" "sudo extrepo enable ${REPO_PALEMOON}" "Enabling ${REPO_PALEMOON}..."
_run_cmd "APT Update" "sudo apt update" "Updating package lists..."
fi
if ! is_installed "palemoon"; then
_run_cmd "Pale Moon" "sudo apt install -y palemoon" "Installing Pale Moon..."
echo -e "${GREEN}Pale Moon installed.${NC}"
else
echo "Pale Moon already installed."
fi
_run_cmd "APT Update" "sudo apt update" "Updating package lists..."
}
_enable_librewolf_repo() {
@@ -64,12 +94,22 @@ _enable_mullvad_repo() {
_run_cmd "APT Update" "sudo apt update" "Updating package lists..."
}
_enable_protonvpn_repo() {
install_protonvpn() {
if [ ! -f /etc/apt/sources.list.d/extrepo_protonvpn.sources ]; then
_ensure_extrepo
_run_cmd "ProtonVPN" "sudo extrepo enable protonvpn" "Enabling ProtonVPN repository..."
_run_cmd "ProtonVPN" "sudo extrepo enable protonvpn stable" "Enabling ProtonVPN repository (stable suite)..."
_run_cmd "APT Update" "sudo apt update" "Updating package lists..."
else
echo "ProtonVPN repository already enabled."
fi
if ! is_installed "proton-vpn-gtk-app"; then
_msg "ProtonVPN" "Installing Proton VPN GTK client\nfrom the official Proton repository." 10 60
_run_cmd "ProtonVPN" "sudo apt install -y proton-vpn-gtk-app" "Installing Proton VPN GTK app..."
echo -e "${GREEN}ProtonVPN installed.${NC}"
else
echo "Proton VPN GTK app already installed."
fi
_run_cmd "APT Update" "sudo apt update" "Updating package lists..."
}
# ── Categories ──
@@ -146,9 +186,7 @@ _cat_internet() {
echo -e "${GREEN}LibreWolf installed.${NC}"
;;
palemoon)
_enable_palemoon_repo
_run_install palemoon
echo -e "${GREEN}Pale Moon installed.${NC}"
install_palemoon
;;
tailscale)
_enable_tailscale_repo
@@ -166,9 +204,7 @@ _cat_internet() {
echo -e "${GREEN}Mullvad Browser installed.${NC}"
;;
protonvpn)
_enable_protonvpn_repo
_run_install protonvpn
echo -e "${GREEN}ProtonVPN installed.${NC}"
install_protonvpn
;;
riseup-vpn)
install_backports_or_stable riseup-vpn