fix(isponsorblocktv): add AVX CPU check before installation

PyApp requires AVX support. CPUs without AVX (e.g. Intel N3160) crash
with SIGILL. Exit early with clear error message. Fixes #13191.
This commit is contained in:
MickLesk
2026-03-22 20:46:11 +01:00
parent cf99d6ad3e
commit c68bdf05a2

View File

@@ -13,6 +13,11 @@ setting_up_container
network_check
update_os
if ! grep -q ' avx ' /proc/cpuinfo 2>/dev/null; then
msg_error "CPU does not support AVX instructions (required by iSponsorBlockTV/PyApp)"
exit 106
fi
fetch_and_deploy_gh_release "isponsorblocktv" "dmunozv04/iSponsorBlockTV" "singlefile" "latest" "/opt/isponsorblocktv" "iSponsorBlockTV-x86_64-linux"
msg_info "Setting up iSponsorBlockTV"