Skip to content

Commit 5f8f529

Browse files
authored
Merge pull request #24 from TbhLovers/main
chore: azule -> pyzule
2 parents 4bdf5af + c0355fd commit 5f8f529

215 files changed

Lines changed: 17 additions & 7093 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Temporary Items
4141
_
4242
obj
4343
.theos
44-
packages/*.ipa
44+
packages
4545

4646
# End of https://www.toptal.com/developers/gitignore/api/macos,theos-tweak
4747

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ BHInsta_CFLAGS = -fobjc-arc -Wno-unsupported-availability-guard -Wno-unused-valu
1414

1515
include $(THEOS_MAKE_PATH)/tweak.mk
1616

17-
SUBPROJECTS += libflex
17+
BHInsta_SUBPROJECTS += modules/libflex

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ A feature-rich tweak for Instagram on iOS!\
5151
- [Homebrew](https://brew.sh/#install)
5252
- [CMake](https://formulae.brew.sh/formula/cmake#default) (brew install cmake)
5353
- [Theos](https://theos.dev/docs/installation)
54-
- [Azule](https://github.com/Al4ise/Azule/wiki)
54+
- [pyzule](https://github.com/asdfzxcvbn/pyzule?tab=readme-ov-file#installation)
5555

5656
## Setup
5757
1. Install iOS 14.5 frameworks for theos

build.sh

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,24 @@
11
#!/usr/bin/env bash
22

3-
PROJECT_PATH=$(pwd)
43
CMAKE_OSX_ARCHITECTURES="arm64e;arm64"
54

5+
ipaFile="$(find ./packages/*com.burbn.instagram*.ipa -type f -exec basename {} \;)"
6+
7+
if [ -z "${ipaFile}" ]; then
8+
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'
9+
exit 1
10+
elif [ -z "$(ls -A modules/libflex/FLEX)" ]; then
11+
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'
12+
exit 1
13+
fi
14+
615
echo -e '\033[1m\033[32mBuilding BHInsta tweak for sideloading (as IPA)\033[0m'
716

817
make clean
918
rm -rf .theos
1019
make
1120

1221
# IPA File
13-
ipaFile="$(find ./packages/*com.burbn.instagram*.ipa -type f -exec basename {} \;)"
14-
15-
if [ -n "${ipaFile}" ]; then
16-
17-
echo -e '\033[1m\033[32mBuilding the IPA.\033[0m'
18-
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"
19-
20-
echo -e "\033[1m\033[32mDone, we hope you enjoy BHInsta!\033[0m\n\nYou can find the ipa file at: $PROJECT_PATH/packages"
21-
else
22-
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'
23-
fi
22+
echo -e '\033[1m\033[32mBuilding the IPA.\033[0m'
23+
pyzule -i "packages/${ipaFile}" -o packages/BHInsta-sideloaded -uwsgf .theos/obj/debug/BHInsta.dylib .theos/obj/debug/libbhFLEX.dylib -m 15.0
24+
echo -e "\033[1m\033[32mDone, we hope you enjoy BHInsta!\033[0m\n\nYou can find the ipa file at: $(pwd)/packages"

modules/libflex/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export ARCHS = arm64 arm64e
1+
export ARCHS = arm64
22
TARGET := iphone:clang:latest:14.0
33
include $(THEOS)/makefiles/common.mk
44

packages/Cephei.framework/Cephei

-121 KB
Binary file not shown.

packages/Cephei.framework/Headers/Cephei.h

Lines changed: 0 additions & 8 deletions
This file was deleted.

packages/Cephei.framework/Headers/HBOutputForShellCommand.h

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)