From cfd6be2ba00a5be8bab355be455fbdc45989b742 Mon Sep 17 00:00:00 2001 From: WarmUpTill Date: Thu, 21 May 2020 20:53:49 +0200 Subject: [PATCH] fix mac and linux builds ignore data/ dir as it is not used by this plugin adjust path to .so in SceneSwitcher.pkgproj --- .github/workflows/build.yml | 3 --- CI/macos/SceneSwitcher.pkgproj | 18 +----------------- 2 files changed, 1 insertion(+), 20 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f7dc687a..73dcd908 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -163,7 +163,6 @@ jobs: echo "::set-env name=FILE_NAME::${FILE_NAME}" mkdir -p ./${{ env.PLUGIN_NAME }}/bin/64bit/ mv ./build/UI/frontend-plugins/${{ env.PLUGIN_NAME }}/${{ env.LIB_NAME }}.so ./${{ env.PLUGIN_NAME }}/bin/64bit/${{ env.LIB_NAME }}.so - mv ./UI/frontend-plugins/${{ env.PLUGIN_NAME }}/data ./${{ env.PLUGIN_NAME }}/data tar -cvzf "${FILE_NAME}" ${{ env.PLUGIN_NAME }} - name: 'Publish' uses: actions/upload-artifact@v2-preview @@ -217,7 +216,6 @@ jobs: $env:FILE_NAME="${{ env.PLUGIN_NAME }}-${env:FILE_DATE}-${{ github.sha }}-win64.zip" echo "::set-env name=FILE_NAME::${env:FILE_NAME}" robocopy .\build64\rundir\RelWithDebInfo\obs-plugins\64bit\ .\build\obs-plugins\64bit ${{ env.LIB_NAME }}.* /E /XF .gitignore - robocopy .\build64\rundir\RelWithDebInfo\data\obs-plugins\${{ env.PLUGIN_NAME }}\ .\build\data\obs-plugins\${{ env.PLUGIN_NAME }}\ /E /XF .gitignore 7z a ${env:FILE_NAME} .\build\* - name: Publish if: success() @@ -272,7 +270,6 @@ jobs: $env:FILE_NAME="${{ env.PLUGIN_NAME }}-${env:FILE_DATE}-${{ github.sha }}-win32.zip" echo "::set-env name=FILE_NAME::${env:FILE_NAME}" robocopy .\build32\rundir\RelWithDebInfo\obs-plugins\32bit\ .\build\obs-plugins\32bit ${{ env.LIB_NAME }}.* /E /XF .gitignore - robocopy .\build32\rundir\RelWithDebInfo\data\obs-plugins\${{ env.PLUGIN_NAME }}\ .\build\data\obs-plugins\${{ env.PLUGIN_NAME }}\ /E /XF .gitignore 7z a ${env:FILE_NAME} .\build\* - name: Publish if: success() diff --git a/CI/macos/SceneSwitcher.pkgproj b/CI/macos/SceneSwitcher.pkgproj index 6059c5b1..8c764c3f 100644 --- a/CI/macos/SceneSwitcher.pkgproj +++ b/CI/macos/SceneSwitcher.pkgproj @@ -36,7 +36,7 @@ GID 80 PATH - ../../../../build/plugins/SceneSwitcher/SceneSwitcher.so + ../../../../../build/UI/frontend-plugins/SceneSwitcher/advanced-scene-switcher.so PATH_TYPE 3 PERMISSIONS @@ -60,22 +60,6 @@ UID 0 - - CHILDREN - - GID - 80 - PATH - ../../data - PATH_TYPE - 1 - PERMISSIONS - 493 - TYPE - 3 - UID - 0 - GID 80