File tree 2 files changed +49
-2
lines changed
2 files changed +49
-2
lines changed Original file line number Diff line number Diff line change
1
+ name : ci
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+ pull_request :
8
+ branches :
9
+ - master
10
+ workflow_dispatch :
11
+
12
+ jobs :
13
+ build :
14
+ runs-on : macos-12
15
+
16
+ steps :
17
+ - name : Checkout
18
+ uses : actions/checkout@v2
19
+ with :
20
+ fetch-depth : 0
21
+ submodules : recursive
22
+
23
+ - name : Theos Setup
24
+ uses : Randomblock1/theos-action@v1
25
+
26
+ - name : Setup libSandy
27
+ run : |
28
+ git clone https://github.com/realthunder/mac-headers --depth 1
29
+ mv mac-headers/usr/include/xpc $THEOS/include
30
+ git clone https://github.com/opa334/libSandy vendor/libSandy --depth 1
31
+ cd vendor/libSandy/ && ./install_to_theos.sh && cd -
32
+
33
+ - name : Setup AltList
34
+ run : |
35
+ git clone https://github.com/opa334/AltList --depth 1
36
+ cd AltList && ./install_to_theos.sh && cd -
37
+
38
+ - name : Build shadow
39
+ run : ./build.sh
40
+
41
+ - name : Release
42
+ uses : softprops/action-gh-release@v1
43
+ if : ${{ startsWith(github.ref, 'refs/tags/') }}
44
+ with :
45
+ files : |
46
+ ${{ github.workspace }}/packages/*.deb
47
+ env :
48
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -5,9 +5,8 @@ include $(THEOS)/makefiles/common.mk
5
5
BUNDLE_NAME = ShadowSettings
6
6
7
7
ShadowSettings_FILES = $(wildcard * .m)
8
- ShadowSettings_FRAMEWORKS = Foundation
8
+ ShadowSettings_FRAMEWORKS = Foundation Preferences
9
9
ShadowSettings_EXTRA_FRAMEWORKS = Shadow AltList HookKit RootBridge
10
- ShadowSettings_PRIVATE_FRAMEWORKS = Preferences
11
10
ShadowSettings_INSTALL_PATH = /Library/PreferenceBundles
12
11
ShadowSettings_CFLAGS = -fobjc-arc -I../Shadow.framework/Headers -I../vendor/HookKit.framework/Headers -I../vendor/RootBridge.framework/Headers
13
12
ShadowSettings_LDFLAGS = -rpath /Library/Frameworks -rpath /var/jb/Library/Frameworks -rpath /usr/lib -rpath /var/jb/usr/lib
You can’t perform that action at this time.
0 commit comments