diff --git a/.github/workflows/appimage.yml b/.github/workflows/appimage.yml index 3d894b6a..d37eb9a5 100644 --- a/.github/workflows/appimage.yml +++ b/.github/workflows/appimage.yml @@ -51,7 +51,7 @@ jobs: cp scrcpy_processed/* AppDir/usr/lib/. - name: Patch Appimage to detect adb / scrcpy run: | - sed -i '/APPDIR="${APPDIR:-${here}}"/aexport LD_LIBRARY_PATH="${APPDIR}/usr/lib:${LD_LIBRARY_PATH}" \nexport GUISCRCPY_SCRCPY="${APPDIR}/usr/bin/scrcpy"\nexport GUISCRCPY_ADB="${APPDIR}/usr/bin/adb"' AppRun > AppRun + sed -i '/APPDIR="${APPDIR:-${here}}"/aexport LD_LIBRARY_PATH="${APPDIR}/usr/lib:${LD_LIBRARY_PATH}" \nexport GUISCRCPY_SCRCPY="${APPDIR}/usr/bin/scrcpy"\nexport GUISCRCPY_ADB="${APPDIR}/usr/bin/adb"' AppDir/AppRun - name: Reimage AppImage run: | rm ./guiscrcpy-x86_64.AppImage