diff --git a/.github/workflows/scc-linux.yml b/.github/workflows/scc-linux.yml index bb25d2e9..b76e174b 100644 --- a/.github/workflows/scc-linux.yml +++ b/.github/workflows/scc-linux.yml @@ -22,7 +22,7 @@ jobs: with: python-version: '3.11' # Install dependencies - - run: pip install pytest vdf libusb1 + - run: pip install pytest vdf libusb1 ioctl-opt # Build - run: python setup.py build # Test diff --git a/AppImageBuilder.debian-bullseye.yml b/AppImageBuilder.debian-bullseye.yml index 0984849e..02d0eb20 100644 --- a/AppImageBuilder.debian-bullseye.yml +++ b/AppImageBuilder.debian-bullseye.yml @@ -26,6 +26,9 @@ AppDir: after_bundle: | set -eu + # install python3-ioctl-opt manually as it is not packaged anywhere + pip install --target "${TARGET_APPDIR}/usr/lib/python3/dist-packages/" ioctl-opt + # appimage-builder expects .desktop file to start with appinfo-id desktop="$(find "${TARGET_APPDIR}/usr" -name sc-controller.desktop)" sed -i "s:Exec=.*:Exec=./usr/bin/scc gui:g" "${desktop}" diff --git a/AppImageBuilder.debian.yml b/AppImageBuilder.debian.yml index 2f0cec9d..536d0528 100644 --- a/AppImageBuilder.debian.yml +++ b/AppImageBuilder.debian.yml @@ -26,6 +26,9 @@ AppDir: after_bundle: | set -eu + # install python3-ioctl-opt manually as it is not packaged anywhere + pip install --target "${TARGET_APPDIR}/usr/lib/python3/dist-packages/" ioctl-opt + # appimage-builder expects .desktop file to start with appinfo-id desktop="$(find "${TARGET_APPDIR}/usr" -name sc-controller.desktop)" sed -i "s:Exec=.*:Exec=./usr/bin/scc gui:g" "${desktop}" diff --git a/AppImageBuilder.ubuntu-focal.yml b/AppImageBuilder.ubuntu-focal.yml index ce77ea1a..6e418ac3 100644 --- a/AppImageBuilder.ubuntu-focal.yml +++ b/AppImageBuilder.ubuntu-focal.yml @@ -26,6 +26,9 @@ AppDir: after_bundle: | set -eu + # install python3-ioctl-opt manually as it is not packaged anywhere + pip install --target "${TARGET_APPDIR}/usr/lib/python3/dist-packages/" ioctl-opt + # appimage-builder expects .desktop file to start with appinfo-id desktop="$(find "${TARGET_APPDIR}/usr" -name sc-controller.desktop)" sed -i "s:Exec=.*:Exec=./usr/bin/scc gui:g" "${desktop}" diff --git a/AppImageBuilder.yml b/AppImageBuilder.yml index 07e1f8d1..8a260567 100644 --- a/AppImageBuilder.yml +++ b/AppImageBuilder.yml @@ -26,6 +26,9 @@ AppDir: after_bundle: | set -eu + # install python3-ioctl-opt manually as it is not packaged anywhere + pip install --target "${TARGET_APPDIR}/usr/lib/python3/dist-packages/" ioctl-opt + # appimage-builder expects .desktop file to start with appinfo-id desktop="$(find "${TARGET_APPDIR}/usr" -name sc-controller.desktop)" sed -i "s:Exec=.*:Exec=./usr/bin/scc gui:g" "${desktop}"