Skip to content

Commit

Permalink
Merge pull request #74 from WildPlusKernel/dev
Browse files Browse the repository at this point in the history
Update gki-kernel.yml
  • Loading branch information
TheWildJames authored Mar 2, 2025
2 parents 2753102 + a968eec commit ddccb0b
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions .github/workflows/gki-kernel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ jobs:
elif [ "${{ inputs.kernelsu_variant }}" == "Next" ]; then
echo "Applying SUSFS patches for KernelSU-Next..."
cd ./KernelSU-Next
cp ../../kernel_patches/0001-kernel-patch-susfs-v1.5.5-to-KernelSU-Next-v1.0.5.patch ./
cp ../../kernel_patches/next/0001-kernel-patch-susfs-v1.5.5-to-KernelSU-Next-v1.0.5.patch ./
patch -p1 --forward < 0001-kernel-patch-susfs-v1.5.5-to-KernelSU-Next-v1.0.5.patch || true
elif [ "${{ inputs.kernelsu_variant }}" == "MKSU" ]; then
echo "Applying SUSFS patches for MKSU..."
Expand All @@ -253,9 +253,20 @@ jobs:
run: |
echo "Changing to configuration directory: $CONFIG..."
cd "$CONFIG/common"
# Apply additional patch
cp ../../kernel_patches/new_hooks.patch ./
patch -p1 -F 3 < new_hooks.patch
if [ "${{ inputs.kernelsu_variant }}" == "Official" ]; then
echo "Applying hooks for Official KernelSU..."
cp ../../kernel_patches/hooks/ksu_hooks.patch ./
patch -p1 -F 3 < ksu_hooks.patch
elif [ "${{ inputs.kernelsu_variant }}" == "Next" ]; then
echo "Applying hooks for KernelSU-Next..."
cp ../../kernel_patches/hooks/new_hooks.patch ./
patch -p1 -F 3 < new_hooks.patch
elif [ "${{ inputs.kernelsu_variant }}" == "MKSU" ]; then
echo "Applying hooks for MKSU..."
cp ../../kernel_patches/hooks/ksu_hooks.patch ./
patch -p1 -F 3 < ksu_hooks.patch
fi
- name: Apply Hide Stuff Patches
run: |
Expand Down

0 comments on commit ddccb0b

Please sign in to comment.