Skip to content

Commit

Permalink
Update gimp-appimage.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Samueru-sama authored Nov 15, 2024
1 parent e9f19f6 commit 905522b
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions gimp-appimage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -102,20 +102,19 @@ find ./shared/lib/*/* -type f -name '*.so*' -exec ldd {} \; \

# sharun the gimp plugins
echo "Sharunning the gimp plugins..."
mkdir -p ./shared/lib/gimp/2.0/plug-ins/shared/bin
cp ./sharun ./shared/lib/gimp/2.0/plug-ins
( cd ./shared/lib/gimp/2.0/plug-ins
for plugin in ./*/*; do
mkdir -p ./shared/lib/gimp/2.0/shared/bin
cp ./sharun ./shared/lib/gimp/2.0
( cd ./shared/lib/gimp/2.0
for plugin in ./plug-ins/*/*; do
if file "$plugin" | grep -i 'elf.*executable'; then
mv "$plugin" ./shared/bin
ln -s ../sharun "$plugin"
mv "$plugin" ./shared/bin && ln -s ../../sharun "$plugin"
echo "Sharan $plugin"
else
echo "$plugin is not a binary, skipping..."
fi
done
)
ln -s ../../../../ ./shared/lib/gimp/2.0/plug-ins/shared/lib
ln -s ../../../ ./shared/lib/gimp/2.0/shared/lib
./sharun -g

# MAKE APPIAMGE WITH FUSE3 COMPATIBLE APPIMAGETOOL
Expand Down

0 comments on commit 905522b

Please sign in to comment.