mirror of
https://github.com/AuxXxilium/arc.git
synced 2024-11-23 19:39:53 +07:00
arc: fix logic
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
8c22d11c49
commit
e218db8511
@ -91,6 +91,8 @@ function arcModel() {
|
||||
STEP="model"
|
||||
if [ ! -f "${S_FILE}" ] || [ ! -f "${P_FILE}" ]; then
|
||||
updateConfigs
|
||||
else
|
||||
checkHardwareID
|
||||
fi
|
||||
dialog --backtitle "$(backtitlep)" --title "Model" \
|
||||
--infobox "Reading Models..." 3 25
|
||||
@ -955,7 +957,7 @@ else
|
||||
b) addonMenu; NEXT="b" ;;
|
||||
d) modulesMenu; NEXT="d" ;;
|
||||
e) ONLYVERSION="true" && arcVersion; NEXT="e" ;;
|
||||
p) ONLYPATCH="true" && arcPatch; NEXT="p" ;;
|
||||
p) ONLYPATCH="true" && checkHardwareID && arcPatch; NEXT="p" ;;
|
||||
S) storageMenu; NEXT="S" ;;
|
||||
o) dtsMenu; NEXT="o" ;;
|
||||
g) governorMenu; NEXT="g" ;;
|
||||
|
@ -265,7 +265,7 @@ function updateModules() {
|
||||
sleep 3
|
||||
idx=$((${idx} + 1))
|
||||
done
|
||||
if [ -n "${TAG}" ] && [[ "${MODULESVERSION}" != "${TAG}" || ! -f "${MODULES_PATH}/${PLATFORM}-${KVERP}.tgz" ]]; then
|
||||
if [ -n "${TAG}" ] && [ "${MODULESVERSION}" != "${TAG}" ]; then
|
||||
rm -rf "${MODULES_PATH}"
|
||||
mkdir -p "${MODULES_PATH}"
|
||||
export URL="https://github.com/AuxXxilium/arc-modules/releases/download/${TAG}/modules-${TAG}.zip"
|
||||
|
Loading…
Reference in New Issue
Block a user