From 3a683f8256df4733acda87d0e35f21c05e13aed0 Mon Sep 17 00:00:00 2001 From: Srevin Saju Date: Sun, 19 Sep 2021 22:50:21 +0300 Subject: [PATCH] changes --- .github/workflows/continuous.yml | 3 ++- scripts/build-appimage.sh | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/continuous.yml b/.github/workflows/continuous.yml index eccc3c78..8be183f3 100644 --- a/.github/workflows/continuous.yml +++ b/.github/workflows/continuous.yml @@ -118,10 +118,11 @@ jobs: architecture: ${{ matrix.arch }} - name: Install dependencies + shell: bash run: | pip3 install --upgrade pip wheel pip3 install --upgrade poetry PyInstaller ${{ matrix.qt }} - poetry install -E ${{ matrix.qt }} + poetry install -E ${{ matrix.qt.lowercase }} poetry build pip3 install dist/*.whl diff --git a/scripts/build-appimage.sh b/scripts/build-appimage.sh index 36b0b849..950ec7e8 100755 --- a/scripts/build-appimage.sh +++ b/scripts/build-appimage.sh @@ -1,12 +1,14 @@ #!/usr/bin/env bash set -euxo pipefail +sudo chown "$(whoami):$(whoami)" -R . + export APPIMAGE_EXTRACT_AND_RUN=1 wget -q https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage && chmod +x appimagetool-x86_64.AppImage if [[ "$GUISCRCPY_TYPE" == "r" ]]; then - SCRCPY_APPIMAGE_DOWNLOAD_URL="$(curl -sL https://api.github.com/repos/srevinsaju/scrcpy-appimage/releases/latest | jq -r '.assets[].browser_download_url')" + SCRCPY_APPIMAGE_DOWNLOAD_URL="$(curl -sL https://api.github.com/repos/srevinsaju/scrcpy-appimage/releases/latest | jq -r '.assets[].browser_download_url' | grep -v 'zsync')" export SCRCPY_APPIMAGE_DOWNLOAD_URL wget -q "$SCRCPY_APPIMAGE_DOWNLOAD_URL"