#!/bin/sh
#nicOS-Utility-Suite:  Utility suite for Puppy Linux (c) Copyright 2022, amethyst.

ANSWER=$(Xdialog --stdout --left --wrap --icon /usr/local/lib/X11/pixmaps/nicOS.png --no-cancel --title "nicOS-Utility-Suite" --help "This is a suite of handy applications for Puppy Linux.

Select the application you want to use from the list.

Application items 1 to 7 can be accessed directly via this list.
Each of these applications has a 'Help' button." --checklist "Click the 'Help' button for instructions.
 
Click 'OK' after making your selection." 0 0 10 "1" "MakeSave" "off" "2" "Package-Extractor" "off" "3" "Remaster-Classic" "off" "4" "Remaster-Alternative" "off" "5" "Save2SFS" "off" "6" "Savefolder2Savefile" "off" "7" "SFS-Merger" "off") 
 case /$ANSWER/ in 
 */1/*) exec "/usr/sbin/nicOS-MakeSave" ;;
 */2/*) exec "/usr/sbin/nicOS-Package-Extractor" ;;
 */3/*) exec "/usr/sbin/nicOS-Remaster-Classic" ;;
 */4/*) exec "/usr/sbin/nicOS-Remaster-Alternative" ;;  
 */5/*) exec "/usr/sbin/nicOS-Save2SFS" ;;
 */6/*) exec "/usr/sbin/nicOS-Savefolder2Savefile" ;;
 */7/*) exec "/usr/sbin/nicOS-SFS-Merger" ;;

 esac
 
####THE END######


