mirror of
https://github.com/Mapleawaa/PVE-Tools-9.git
synced 2026-09-03 07:15:19 +08:00
Unify all menus on lib/menu.sh (run_menu), harden GPU/GRUB writes with two-tier confirms and markers, fix remote/self-update to Releases assets, and close real CI quality gates with SHA256SUMS. Bump to 11.0.0 / Liino.
23 lines
584 B
Bash
23 lines
584 B
Bash
#!/bin/bash
|
|
# SPDX-License-Identifier: GPL-3.0-only
|
|
# Copyright (C) 2026 Ciriu Networks
|
|
|
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
|
|
for lib_file in \
|
|
"$SCRIPT_DIR/lib/config.sh" \
|
|
"$SCRIPT_DIR/lib/core.sh" \
|
|
"$SCRIPT_DIR/lib/menu.sh" \
|
|
"$SCRIPT_DIR/lib/network.sh" \
|
|
"$SCRIPT_DIR/lib/runtime.sh"; do
|
|
# shellcheck source=/dev/null
|
|
source "$lib_file"
|
|
done
|
|
|
|
while IFS= read -r -d '' module_file; do
|
|
# shellcheck source=/dev/null
|
|
source "$module_file"
|
|
done < <(find "$SCRIPT_DIR/src/modules" -name '*.sh' -print0 | sort -z)
|
|
|
|
main "$@"
|