From af3aab7386d46122080059a8e2a76f832de593a8 Mon Sep 17 00:00:00 2001 From: Samuel <36420837+Samueru-sama@users.noreply.github.com> Date: Thu, 8 May 2025 06:41:15 -0400 Subject: [PATCH] temp fix: force usage of bundled smartctl --- qdiskinfo-appimage.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/qdiskinfo-appimage.sh b/qdiskinfo-appimage.sh index fa6687e..8ac2ada 100644 --- a/qdiskinfo-appimage.sh +++ b/qdiskinfo-appimage.sh @@ -55,13 +55,13 @@ export QT_STYLE_OVERRIDE="${QT_STYLE_OVERRIDE:-Breeze}" [ -f "$APPIMAGE".stylesheet ] && APPIMAGE_QT_THEME="$APPIMAGE.stylesheet" [ -f "$APPIMAGE_QT_THEME" ] && set -- "$@" "-stylesheet" "$APPIMAGE_QT_THEME" -if ! command -v smartctl >/dev/null 2>&1; then - echo "smartctl is not on the system, using bundled binary..." - export PATH="$PATH:"$CACHEDIR"/qdiskinfo-appimage" +#if ! command -v smartctl >/dev/null 2>&1; then +# echo "smartctl is not on the system, using bundled binary..." + export PATH="$CACHEDIR/qdiskinfo-appimage:$PATH" mkdir -p "$CACHEDIR"/qdiskinfo-appimage cp -v "$CURRENTDIR"/smartctl "$CACHEDIR"/qdiskinfo-appimage chmod +x "$CACHEDIR"/qdiskinfo-appimage/smartctl -fi +#fi exec "$CURRENTDIR"/bin/QDiskInfo "$@"' > ./AppRun chmod +x ./AppRun