File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -633,7 +633,12 @@ runs:
633633 echo "KSUVER=$KSU_VERSION" >> $GITHUB_ENV
634634 echo "KernelSU Next Version: $KSU_VERSION"
635635 echo "✅ KernelSU Next added (commit: ${KSU_COMMIT_SHA:0:8})"
636- echo "NEED_HOOKS=true" >> $GITHUB_ENV
636+
637+ if [ "$KSU_VERSION" -lt 12884 ]; then
638+ echo "NEED_HOOKS=true" >> $GITHUB_ENV
639+ else
640+ echo "NEED_HOOKS=false" >> $GITHUB_ENV
641+ fi
637642 echo "::endgroup::"
638643
639644 - name : Add KernelSU
@@ -662,7 +667,7 @@ runs:
662667 echo "KSUVER=$KSU_VERSION" >> $GITHUB_ENV
663668 echo "KernelSU Version: $KSU_VERSION"
664669 echo "✅ KernelSU added (commit: ${KSU_COMMIT_SHA:0:8})"
665- echo "NEED_HOOKS=true " >> $GITHUB_ENV
670+ echo "NEED_HOOKS=false " >> $GITHUB_ENV
666671 echo "::endgroup::"
667672
668673 - name : Apply SUSFS Patches
You can’t perform that action at this time.
0 commit comments