From bc70cc084ee07e2329c2f903c51abc94546faea2 Mon Sep 17 00:00:00 2001 From: NotNite Date: Sat, 5 Oct 2024 15:03:18 -0400 Subject: [PATCH] Remove AppImage stuff for now since glibc headaches --- .github/workflows/build.yml | 18 ------------------ AppImageBuilder.yml | 18 ------------------ build-linux.sh | 29 ----------------------------- 3 files changed, 65 deletions(-) delete mode 100644 AppImageBuilder.yml delete mode 100755 build-linux.sh diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4e384ca..389594e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,21 +16,3 @@ jobs: with: name: moonlight-installer-windows path: target/release/moonlight-installer.exe - - build-linux: - runs-on: ubuntu-20.04 - steps: - - uses: actions/checkout@v4 - - uses: dtolnay/rust-toolchain@stable - - uses: Swatinem/rust-cache@v2 - - - name: Build AppImage - run: ./build-linux.sh - - name: Upload artifact - uses: actions/upload-artifact@v4 - with: - name: moonlight-installer-linux - path: ./moonlight-installer-x86_64.AppImage - - # TODO: macOS - # build-macos: \ No newline at end of file diff --git a/AppImageBuilder.yml b/AppImageBuilder.yml deleted file mode 100644 index e6fc33c..0000000 --- a/AppImageBuilder.yml +++ /dev/null @@ -1,18 +0,0 @@ -version: 1 -AppDir: - path: ./AppDir - - app_info: - id: io.github.moonlight-mod.installer - name: moonlight installer - icon: moonlight-installer - version: 0.2.0 - exec: usr/bin/moonlight-installer - exec_args: $@ - - files: - include: - - usr/bin/moonlight-installer - -AppImage: - arch: x86_64 diff --git a/build-linux.sh b/build-linux.sh deleted file mode 100755 index 7bf2a37..0000000 --- a/build-linux.sh +++ /dev/null @@ -1,29 +0,0 @@ -#!/usr/bin/env sh -set -e - -echo "Building installer..." -cargo build --release - -if [ -d ./AppDir ]; then - echo "Cleaning up old AppDir..." - rm -rf ./AppDir -fi - -echo "Creating AppDir..." -mkdir -p ./AppDir/usr/bin -mkdir -p ./AppDir/usr/share/icons/hicolor/256x256 -cp ./target/release/moonlight-installer ./AppDir/usr/bin -cp ./assets/icon.png ./AppDir/usr/share/icons/hicolor/256x256/moonlight-installer.png - -if [ ! -f ./appimage-builder-x86_64.AppImage ]; then - echo "Downloading appimage-builder..." - # Nothing has ever gone wrong in the history of downloading random binaries off of the Internet - wget -O ./appimage-builder-x86_64.AppImage https://github.com/AppImageCrafters/appimage-builder/releases/download/v1.1.0/appimage-builder-1.1.0-x86_64.AppImage - chmod +x ./appimage-builder-x86_64.AppImage -fi - -echo "Building AppImage..." -./appimage-builder-x86_64.AppImage --recipe ./AppImageBuilder.yml - -# Move the appimage into a predictable location for CI -mv ./moonlight\ installer-*-x86_64.AppImage ./moonlight-installer-x86_64.AppImage