Skip to content

Commit e3caf17

Browse files
committed
refactor: use custom flex loader instead of libbhFLEX
1 parent 165aa4d commit e3caf17

File tree

9 files changed

+19
-46
lines changed

9 files changed

+19
-46
lines changed

build-dev.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
set -e
44

55
echo 'Note: This script is meant to be used while developing the tweak.'
6-
echo ' This does not build "libbhFLEX", it must be done manually and moved to ./packages'
6+
echo ' This does not build "libsciFLEX", it must be done manually and moved to ./packages'
77
echo
88

99
./build.sh sideload --dev

build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ then
3030
# Check if building with dev mode
3131
if [ "$2" == "--dev" ];
3232
then
33-
FLEXPATH='packages/libbhFLEX.dylib'
33+
FLEXPATH='packages/libsciFLEX.dylib'
3434

3535
make "DEV=1"
3636
else
37-
FLEXPATH='.theos/obj/debug/libbhFLEX.dylib'
37+
FLEXPATH='.theos/obj/debug/libsciFLEX.dylib'
3838

3939
make "SIDELOAD=1"
4040
fi

modules/libflex/depiction

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

modules/libflex/libFLEX.h

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

modules/libflex/libbhFLEX.plist

Lines changed: 0 additions & 1 deletion
This file was deleted.

modules/libflex/libbhFLEX.x

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

modules/libflex/libsciFLEX.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#import <Foundation/Foundation.h>

modules/libflex/libsciFLEX.plist

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
4+
<plist version="1.0">
5+
<dict>
6+
<key>Filter</key>
7+
<dict>
8+
<key>Bundles</key>
9+
<array>
10+
<string>com.burbn.instagram</string>
11+
</array>
12+
</dict>
13+
</dict>
14+
</plist>

modules/libflex/libsciFLEX.x

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#import "libsciFLEX.h"

0 commit comments

Comments
 (0)