From 2741e1afaa27f5f1e8972fd8b5ce49f762f99b96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Malte=20J=C3=BCrgens?= Date: Sat, 16 Jul 2022 20:41:26 +0200 Subject: [PATCH] muh working --- assets/discord-screenaudio.desktop | 1 + scripts/build-appimage.sh | 4 ++-- scripts/prepare-container.sh | 2 +- version | 1 + 4 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 version diff --git a/assets/discord-screenaudio.desktop b/assets/discord-screenaudio.desktop index 9308c0c..9217145 100644 --- a/assets/discord-screenaudio.desktop +++ b/assets/discord-screenaudio.desktop @@ -4,3 +4,4 @@ Name=discord-screenaudio Exec=discord-screenaudio Icon=discord Terminal=false +Categories=Audio; diff --git a/scripts/build-appimage.sh b/scripts/build-appimage.sh index 37038cb..275c0d0 100755 --- a/scripts/build-appimage.sh +++ b/scripts/build-appimage.sh @@ -9,7 +9,7 @@ if [ ! -f /.dockerenv ]; then echo "Error: Docker is not available." exit 1 fi - docker run --rm -v "$PWD":/work discord-screenaudio-buildenv bash /work/scripts/build-appimage.sh + docker run --rm -u $(id -u) -v "$PWD":/work discord-screenaudio-buildenv bash /work/scripts/build-appimage.sh exit 0 fi @@ -22,4 +22,4 @@ DESTDIR="$appdir" cmake --install "$builddir" --prefix "/usr" mkdir -p "$appdir/usr/share/doc/libc6" touch "$appdir/usr/share/doc/libc6/copyright" -linuxdeployqt "$appdir/usr/share/applications/discord-screenaudio.desktop" -appimage -extra-plugins=iconengines,platformthemes/libqgtk3.so -unsupported-allow-new-glibc +VERSION="$(cat version)" linuxdeployqt "$appdir/usr/share/applications/discord-screenaudio.desktop" -appimage -extra-plugins=iconengines,platformthemes/libqgtk3.so -unsupported-allow-new-glibc diff --git a/scripts/prepare-container.sh b/scripts/prepare-container.sh index c3f297b..98bb63a 100755 --- a/scripts/prepare-container.sh +++ b/scripts/prepare-container.sh @@ -16,7 +16,7 @@ fi echo "-> Installing dependencies with apt..." export DEBIAN_FRONTEND=noninteractive apt-get update -apt-get install -y curl build-essential qtbase5-dev qtwebengine5-dev qt5-qmake cmake pkg-config git libpipewire-0.3-dev +apt-get install -y curl build-essential qtbase5-dev qtwebengine5-dev qt5-qmake cmake pkg-config git libpipewire-0.3-dev file echo "-> Installing linuxdeployqt..." tmpdir="$(mktemp -d)" diff --git a/version b/version new file mode 100644 index 0000000..a2700ec --- /dev/null +++ b/version @@ -0,0 +1 @@ +v1.0.0-rc.2 \ No newline at end of file