From 0f2d8236ed88c2e6d784c2586d66832cac0dafbb Mon Sep 17 00:00:00 2001 From: WorldObservationLog Date: Fri, 6 Sep 2024 19:32:04 +0800 Subject: [PATCH 1/5] feat: Disable getting m3u8 feature defaultly --- test.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/test.c b/test.c index 1f19267..b4e7313 100644 --- a/test.c +++ b/test.c @@ -544,7 +544,11 @@ int main(int argc, char *argv[]) { _ZN22SVPlaybackLeaseManager12requestLeaseERKb(leaseMgr, &autom); FHinstance = _ZN21SVFootHillSessionCtrl8instanceEv(); - pthread_t m3u8_thread; - pthread_create(&m3u8_thread, NULL, &new_socket_m3u8, NULL); + if (args_info.m3u8_port_given) { + pthread_t m3u8_thread; + pthread_create(&m3u8_thread, NULL, &new_socket_m3u8, NULL); + } else { + fprintf(stderr, "[!] The feature of getting m3u8 is defaultly disabled because it's unstable now. To enable it, please manually specify m3u8-port param.\n"); + } return new_socket(); } From 59484641c0fdeb9ecdc148d75e62ad6faea3c6c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=96=E7=95=8C=E8=A7=82=E5=AF=9F=E6=97=A5=E5=BF=97?= Date: Fri, 6 Sep 2024 20:06:15 +0800 Subject: [PATCH 2/5] Update c-cpp.yml --- .github/workflows/c-cpp.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 882bf70..fd8774c 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -29,10 +29,17 @@ jobs: run: | make + - name: Set outputs + id: vars + run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT + + - name: Test + run: ls rootfs + - name: Upload artifact uses: actions/upload-artifact@v4 with: - name: Wrapper.x86_64 + name: Wrapper.x86_64.${{ steps.vars.outputs.sha_short }} path: | rootfs wrapper From 29ae88bae7bb1ca388a12ee2f4eb5d445f2392ce Mon Sep 17 00:00:00 2001 From: WorldObservationLog Date: Fri, 6 Sep 2024 20:11:35 +0800 Subject: [PATCH 3/5] fix: upload-artifact ignore empty file --- rootfs/data/data/com.apple.android.music/.gitkeep | 1 + rootfs/dev/.gitkeep | 1 + 2 files changed, 2 insertions(+) diff --git a/rootfs/data/data/com.apple.android.music/.gitkeep b/rootfs/data/data/com.apple.android.music/.gitkeep index e69de29..67b08f3 100644 --- a/rootfs/data/data/com.apple.android.music/.gitkeep +++ b/rootfs/data/data/com.apple.android.music/.gitkeep @@ -0,0 +1 @@ +GITKEEP \ No newline at end of file diff --git a/rootfs/dev/.gitkeep b/rootfs/dev/.gitkeep index e69de29..67b08f3 100644 --- a/rootfs/dev/.gitkeep +++ b/rootfs/dev/.gitkeep @@ -0,0 +1 @@ +GITKEEP \ No newline at end of file From b053904e9bba25d1a4f1999fa746bb9e5779dd1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=96=E7=95=8C=E8=A7=82=E5=AF=9F=E6=97=A5=E5=BF=97?= Date: Fri, 6 Sep 2024 20:13:42 +0800 Subject: [PATCH 4/5] Update c-cpp.yml --- .github/workflows/c-cpp.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index fd8774c..88ad0bd 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -33,9 +33,6 @@ jobs: id: vars run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT - - name: Test - run: ls rootfs - - name: Upload artifact uses: actions/upload-artifact@v4 with: From 4226d717120360488576eab188530e9f6242ae84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=96=E7=95=8C=E8=A7=82=E5=AF=9F=E6=97=A5=E5=BF=97?= Date: Fri, 6 Sep 2024 20:15:14 +0800 Subject: [PATCH 5/5] Update c-cpp.yml --- .github/workflows/c-cpp.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 88ad0bd..9bd355d 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -37,6 +37,7 @@ jobs: uses: actions/upload-artifact@v4 with: name: Wrapper.x86_64.${{ steps.vars.outputs.sha_short }} + include-hidden-files: true path: | rootfs wrapper