From fe586be658c104a25de5ebacc7b337986230a27c Mon Sep 17 00:00:00 2001 From: Beethoven Date: Sat, 2 Aug 2025 20:14:06 -0500 Subject: [PATCH] (build_appimage.sh) install libs by UID and GID installing by $USER caused issues when i did it so i've fixed it also added $PWD because ./ was lazy --- build_appimage.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build_appimage.sh b/build_appimage.sh index 6d59690..d28836b 100755 --- a/build_appimage.sh +++ b/build_appimage.sh @@ -3,7 +3,7 @@ # run this from the root of the git repo to make this work arch="$(uname -m)" -git_dir="./" +git_dir="$PWD" target_dir="$git_dir/src-tauri/target/" appimage_dir="$git_dir/build/appimage" appdir="$appimage_dir/drop-oss-app.d" @@ -28,7 +28,7 @@ fi cp $target_dir/release/drop-app $appdir/usr/bin for i in $(readelf -d "$target_dir/release/drop-app" |grep NEEDED |cut -d'[' -f2 |tr -d ]); do - sudo install -g $USER -o $USER -Dm755 "$(ls -L1 /usr/lib/$i)" $appdir/usr/lib + sudo install -g 1000 -o 1000 -Dm755 "$(ls -L1 /usr/lib/$i)" $appdir/usr/lib done wget -O $appimage_dir/appimagetool https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-$arch.AppImage