Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

Commit

Permalink
brought back GUI (partially)
Browse files Browse the repository at this point in the history
  • Loading branch information
Al4ise authored Jul 23, 2021
1 parent ce6aef4 commit 751a36e
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion azule
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,24 @@ while getopts :n:i:o:c:b:f:d:p:huSmeCv args; do
;;
esac
done
if [[ -z $run || -z $ipadir || -z $outdir ]]; then

# OUTPUT DIRECTORY
if [ -z "$outdir" ]; then while
printf 'Output Directory: '
read out
outdir=$(eval "echo $out")
[ -z "$outdir" ] && echo "I don't want to keep the app for myself."
do true; done; fi

# GET IPA
if [ -z "$ipadir" ]; then while
printf 'Path to IPA: '
read ipa
ipadir=$(eval "echo \$ipa")
[ -z "$ipadir" ] && echo "I need the IPA to make your app."
do true; done; fi

if [ -z $run ]; then
echo "Insufficient Arguements"
echo "Run "azule -h" for usage instructions"
exit 1
Expand Down

0 comments on commit 751a36e

Please sign in to comment.