forked from BandarHL/BHInstagram
-
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3dea058
commit 4c4a282
Showing
216 changed files
with
19 additions
and
7,095 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[submodule "modules/libflex/FLEX"] | ||
path = modules/libflex/FLEX | ||
url = https://github.com/FLEXTool/FLEX | ||
url = https://github.com/asdfzxcvbn/FLEX |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,24 @@ | ||
#!/usr/bin/env bash | ||
|
||
PROJECT_PATH=$(pwd) | ||
CMAKE_OSX_ARCHITECTURES="arm64e;arm64" | ||
|
||
ipaFile="$(find ./packages/*com.burbn.instagram*.ipa -type f -exec basename {} \;)" | ||
|
||
if [ -z "${ipaFile}" ]; then | ||
echo -e '\033[1m\033[0;31m./packages/com.burbn.instagram.ipa not found.\nPlease put a decrypted Instagram IPA in its path.\033[0m' | ||
exit 1 | ||
elif [ -z "$(ls -A modules/libflex/FLEX)" ]; then | ||
echo -e '\033[1m\033[0;31mFLEX submodule not found.\nPlease run the following command to checkout submodules:\n\n\033[0m git submodule update --init --recursive' | ||
exit 1 | ||
fi | ||
|
||
echo -e '\033[1m\033[32mBuilding BHInsta tweak for sideloading (as IPA)\033[0m' | ||
|
||
make clean | ||
rm -rf .theos | ||
make | ||
|
||
# IPA File | ||
ipaFile="$(find ./packages/*com.burbn.instagram*.ipa -type f -exec basename {} \;)" | ||
|
||
if [ -n "${ipaFile}" ]; then | ||
|
||
echo -e '\033[1m\033[32mBuilding the IPA.\033[0m' | ||
azule -i "$PROJECT_PATH/packages/${ipaFile}" -o "$PROJECT_PATH/packages" -n BHInsta-sideloaded -r -f "$PROJECT_PATH/.theos/obj/debug/BHInsta.dylib" "$PROJECT_PATH/packages/Cephei.framework" "$PROJECT_PATH/packages/CepheiUI.framework" "$PROJECT_PATH/packages/CepheiPrefs.framework" "$PROJECT_PATH/modules/libflex/.theos/obj/debug/libbhFLEX.dylib" | ||
|
||
echo -e "\033[1m\033[32mDone, we hope you enjoy BHInsta!\033[0m\n\nYou can find the ipa file at: $PROJECT_PATH/packages" | ||
else | ||
echo -e '\033[1m\033[0;31m./packages/com.burbn.instagram.ipa not found.\nPlease put a decrypted Instagram IPA in its path.\033[0m' | ||
fi | ||
echo -e '\033[1m\033[32mBuilding the IPA.\033[0m' | ||
pyzule -i "packages/${ipaFile}" -o packages/BHInsta-sideloaded -uwsgf .theos/obj/debug/BHInsta.dylib .theos/obj/debug/libbhFLEX.dylib -m 15.0 | ||
echo -e "\033[1m\033[32mDone, we hope you enjoy BHInsta!\033[0m\n\nYou can find the ipa file at: $(pwd)/packages" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file was deleted.
Oops, something went wrong.
19 changes: 0 additions & 19 deletions
19
packages/Cephei.framework/Headers/HBOutputForShellCommand.h
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.