diff --git a/linux-x64/phserver/phserver.sh b/linux-x64/phserver/phserver.sh index 9680206..f56358a 100755 --- a/linux-x64/phserver/phserver.sh +++ b/linux-x64/phserver/phserver.sh @@ -19,12 +19,12 @@ if [ -f /etc/os-release ]; then source /etc/os-release # Detect if it's UOS V20 - if [[ "${name}" == "uos" ]] && [[ "${VERSION_ID}" == "20" ]]; then + if [[ "${NAME}" == "uos" ]] && [[ "${VERSION_ID}" == "20" ]]; then echo "Detected UOS V20, running with ablrun..." # 检查 ablrun 是否可用 if command -v ablrun &> /dev/null; then - $(dirname "${BASH_SOURCE[0]}")/usr/bin/ablrun "${APPIMAGE}" "$@" + $(dirname "${BASH_SOURCE[0]}")/abl_portable/usr/bin/ablrun "${APPIMAGE}" "$@" else echo "Warning: ablrun command not available, trying direct execution..." "${APPIMAGE}" "$@"