Add a new flag `-o` to specify the output path for saving the app. Create the output directory if it doesn't exist. Remove the hardcoded directory creation for the "apps" directory. Update the main function to check if the output path is provided and display an error message if it's not.
4 lines
180 B
Bash
4 lines
180 B
Bash
#!/bin/bash
|
|
|
|
./IPAGoClient -user mrx.trojan@icloud.com -pswd ... -h 65.109.64.76 -p 9001 -q TikTok -b com.zhiliaoapp.musically -u ... -o /Users/trojvn/Documents/Code/iTikBot/apps/
|