From f58d4fcf027c9d6b50e02fefae1ec2c2f7f484d0 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 10 Mar 2026 03:01:36 +0000 Subject: [PATCH] Fix build: place YouTubeHeader and protobuf as sibling dirs Source files use ../YouTubeHeader/ and ../protobuf/ relative imports, so these repos must be siblings to the checkout dir, not in $THEOS/include. https://claude.ai/code/session_01FD8kBzc7yv5Fdf9G7Z2ZkE --- .github/workflows/build-ipa.yml | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/.github/workflows/build-ipa.yml b/.github/workflows/build-ipa.yml index 9414c29..3e2be33 100644 --- a/.github/workflows/build-ipa.yml +++ b/.github/workflows/build-ipa.yml @@ -67,25 +67,13 @@ jobs: - name: Clone Dependencies run: | - cd $THEOS/include - git clone --quiet --depth=1 https://github.com/PoomSmart/YouTubeHeader.git + # Clone as siblings to main/ since source uses ../YouTubeHeader/ and ../protobuf/ relative paths + git clone --quiet --depth=1 https://github.com/PoomSmart/YouTubeHeader.git ${{ github.workspace }}/YouTubeHeader git clone --quiet --depth=1 --branch v3.21.12 https://github.com/protocolbuffers/protobuf.git ${{ github.workspace }}/protobuf - env: - THEOS: ${{ github.workspace }}/theos - name: Create roothide stub run: | - cat > $THEOS/include/roothide.h << 'STUBEOF' - #ifndef ROOTHIDE_H - #define ROOTHIDE_H - #ifndef jbroot - #define jbroot(path) path - #endif - #ifndef rootfs - #define rootfs(path) path - #endif - #endif - STUBEOF + printf '#ifndef ROOTHIDE_H\n#define ROOTHIDE_H\n#ifndef jbroot\n#define jbroot(path) path\n#endif\n#ifndef rootfs\n#define rootfs(path) path\n#endif\n#endif\n' > $THEOS/include/roothide.h env: THEOS: ${{ github.workspace }}/theos