chore: add output path flag and directory creation

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.
This commit is contained in:
2026-03-10 21:11:49 +03:00
parent fb62e0b77d
commit 57f7754353
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,3 @@
#!/bin/bash
./IPAGoClient -user mrx.trojan@icloud.com -pswd ... -h 65.109.64.76 -p 9001 -q TikTok -b com.zhiliaoapp.musically -u ...
./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/