mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-03-23 10:23:00 +01:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user