Skip to content

Commit

Permalink
Merge branch 'level3tjg:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
Macleykun authored Sep 27, 2024
2 parents 35d4a70 + a6fd38e commit acd35b8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,18 @@ jobs:
fi
echo "id=$(cat control | grep "Package:" | cut -d' ' -f2)" >> $GITHUB_OUTPUT
echo "version=$version" >> $GITHUB_OUTPUT
- name: Install dependencies
run: |
sudo apt update
sudo apt install -y rsync
- name: Install theos-jailed dependencies
if: ${{ inputs.create_release }}
run: |
sudo apt update
sudo apt install -y build-essential checkinstall git autoconf automake libtool-bin rsync llvm xmlstarlet
curl -L https://github.com/libimobiledevice/libplist/releases/download/2.4.0/libplist-2.4.0.tar.bz2 | bzip2 -d | tar -x
sudo apt install -y build-essential checkinstall git autoconf automake libtool-bin llvm xmlstarlet
curl -L https://github.com/libimobiledevice/libplist/releases/download/2.6.0/libplist-2.6.0.tar.bz2 | bzip2 -d | tar -x
cd libplist*
./configure
sudo make install
Expand Down Expand Up @@ -85,8 +90,6 @@ jobs:
if: ${{ inputs.create_release }}
run: |
./theos-jailed/install
cd libplist*
sudo make uninstall
- name: Build rootless deb
run: make package
Expand Down
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
export LOGOS_DEFAULT_GENERATOR = internal

TARGET := iphone:clang:latest:11.0
INSTALL_TARGET_PROCESSES = RedditApp Reddit

Expand All @@ -20,7 +22,6 @@ TWEAK_NAME = RedditFilter
$(TWEAK_NAME)_FILES = $(wildcard *.x*)
$(TWEAK_NAME)_CFLAGS = -fobjc-arc -Iinclude -Wno-module-import-in-extern-c
$(TWEAK_NAME)_INJECT_DYLIBS = $(THEOS_OBJ_DIR)/RedditSideloadFix.dylib
$(TWEAK_NAME)_LOGOS_DEFAULT_GENERATOR = internal

ifeq ($(SIDELOADED),1)
SUBPROJECTS += RedditSideloadFix
Expand Down

0 comments on commit acd35b8

Please sign in to comment.