mirror of
https://github.com/faroukbmiled/RyukGram.git
synced 2026-04-26 14:16:40 +02:00
4ebd4d2c0d
settings UI, build scripts, workflows, control file, and Makefile
- Added built-in sideload compatibility patch:
keychain access group discovery, SecItem rebinding via fishhook,
NSFileManager app group fallback, Cloud Kit entitlement patches
- Added fishhook library (modules/fishhook/) for C function rebinding
- Updated README with new features, repo links, and credits
- Updated GitHub Actions workflows for RyukGram naming
- Plist renamed from SCInsta.plist to RyukGram.plist
93 lines
2.9 KiB
YAML
93 lines
2.9 KiB
YAML
name: Build RyukGram tweak for Rootless
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- 'main'
|
|
- 'dev'
|
|
workflow_dispatch:
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
jobs:
|
|
build:
|
|
name: Build RyukGram Rootless
|
|
runs-on: macos-latest
|
|
permissions:
|
|
contents: write
|
|
|
|
steps:
|
|
- name: Checkout Main
|
|
uses: actions/checkout@v4
|
|
with:
|
|
path: main
|
|
|
|
- name: Install Dependencies
|
|
run: brew install ldid dpkg make
|
|
|
|
- name: Set PATH environment variable
|
|
run: echo "$(brew --prefix make)/libexec/gnubin" >> $GITHUB_PATH
|
|
|
|
- name: Setup Theos
|
|
uses: actions/checkout@v4
|
|
with:
|
|
repository: theos/theos
|
|
ref: master
|
|
path: ${{ github.workspace }}/theos
|
|
submodules: recursive
|
|
|
|
- name: SDK Caching
|
|
id: SDK
|
|
uses: actions/cache@v4
|
|
env:
|
|
cache-name: iPhoneOS16.2.sdk
|
|
with:
|
|
path: ${{ github.workspace }}/theos/sdks/
|
|
key: ${{ env.cache-name }}
|
|
restore-keys: ${{ env.cache-name }}
|
|
|
|
- name: Download iOS SDK
|
|
if: steps.SDK.outputs.cache-hit != 'true'
|
|
run: |
|
|
git clone --quiet -n --depth=1 --filter=tree:0 https://github.com/xybp888/iOS-SDKs/
|
|
cd iOS-SDKs
|
|
git sparse-checkout set --no-cone iPhoneOS16.2.sdk
|
|
git checkout
|
|
mv *.sdk $THEOS/sdks
|
|
env:
|
|
THEOS: ${{ github.workspace }}/theos
|
|
|
|
- name: Get Version
|
|
id: version
|
|
run: |
|
|
VERSION=$(awk '/Version:/ {print $2}' main/control)
|
|
echo "VERSION=${VERSION}" >> "$GITHUB_ENV"
|
|
echo "version=${VERSION}" >> "$GITHUB_OUTPUT"
|
|
|
|
- name: Build RyukGram tweak for Rootless
|
|
run: |
|
|
cd main
|
|
ls -la
|
|
./build.sh rootless
|
|
ls -la packages
|
|
env:
|
|
THEOS: ${{ github.workspace }}/theos
|
|
|
|
- name: Rename deb to include version info
|
|
run: |
|
|
cd main/packages
|
|
mv "$(ls -t | head -n1)" "com.faroukbmiled.ryukgram_${VERSION}+debug-rootless.deb"
|
|
|
|
- name: Pass package name to upload action
|
|
id: package_name
|
|
run: |
|
|
echo "package=$(ls -t main/packages | head -n1)" >> "$GITHUB_OUTPUT"
|
|
|
|
- name: Upload Artifact
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: ${{ steps.package_name.outputs.package }}
|
|
path: ${{ github.workspace }}/main/packages/${{ steps.package_name.outputs.package }}
|
|
if-no-files-found: error
|