Compare commits

..

1 Commits

Author SHA1 Message Date
MickLesk 33140f8ea2 HAOS: remove non-ASCII dash from CPU model dialog text 2026-08-04 22:56:49 +02:00
2 changed files with 1 additions and 11 deletions
-10
View File
@@ -7732,16 +7732,6 @@ setup_nodejs() {
fi fi
fi fi
# npm >=11 skips native-module install/rebuild scripts (better-sqlite3, bcrypt,
# argon2, ...) unless each package is explicitly allowlisted, silently leaving
# native deps unbuilt. Bypass the policy globally instead of allowlisting
# per script.
local npm_major
npm_major=$(npm -v 2>/dev/null | cut -d. -f1)
if [[ "${npm_major:-0}" -ge 11 ]]; then
$STD npm config set dangerously-allow-all-scripts true --location=global 2>/dev/null || true
fi
# Set a safe default heap limit for Node.js builds if not explicitly provided. # Set a safe default heap limit for Node.js builds if not explicitly provided.
# Priority: # Priority:
# 1) NODE_OPTIONS (caller/user override) # 1) NODE_OPTIONS (caller/user override)
+1 -1
View File
@@ -402,7 +402,7 @@ function advanced_settings() {
fi fi
if CPU_TYPE1=$(whiptail --backtitle "Proxmox VE Helper Scripts" --title "CPU MODEL" --radiolist "Choose CPU Model" --cancel-button Exit-Script 10 58 2 \ if CPU_TYPE1=$(whiptail --backtitle "Proxmox VE Helper Scripts" --title "CPU MODEL" --radiolist "Choose CPU Model" --cancel-button Exit-Script 10 58 2 \
"KVM64" "Default safe for migration/compatibility" ON \ "KVM64" "Default - safe for migration/compatibility" ON \
"Host" "Use host CPU features (faster, no migration)" OFF \ "Host" "Use host CPU features (faster, no migration)" OFF \
3>&1 1>&2 2>&3); then 3>&1 1>&2 2>&3); then
case "$CPU_TYPE1" in case "$CPU_TYPE1" in