diff --git a/AppDir/bin/select-file.src.hook b/AppDir/bin/select-file.src.hook new file mode 100644 index 0000000..f7b7abb --- /dev/null +++ b/AppDir/bin/select-file.src.hook @@ -0,0 +1,8 @@ +#!/bin/false + +if [ -z "$1" ]; then + f=$(zenity --text 'Select file to open' --file-selection \ + --file-filter='Images (jpg, png, svg, gif) | *.jpg *.JPG *.png *.PNG *svg *SVG *.gif *.GIF' + ) + set -- --filename "$f" +fi diff --git a/get-dependencies.sh b/get-dependencies.sh index de60b32..5e27ed3 100644 --- a/get-dependencies.sh +++ b/get-dependencies.sh @@ -13,7 +13,7 @@ echo "---------------------------------------------------------------" get-debloated-pkgs --add-common --prefer-nano # Comment this out if you need an AUR package -#make-aur-package PACKAGENAME +make-aur-package zenity-rs-bin # If the application needs to be manually built that has to be done down here diff --git a/make-appimage.sh b/make-appimage.sh index fa96093..0139505 100644 --- a/make-appimage.sh +++ b/make-appimage.sh @@ -12,7 +12,7 @@ export ICON=/usr/share/icons/hicolor/scalable/apps/satty.svg export DESKTOP=/usr/share/applications/satty.desktop # Deploy dependencies -quick-sharun /usr/bin/satty +quick-sharun /usr/bin/satty /usr/bin/zenity # Additional changes can be done in between here