From a91e39de307edd8ff97f943a9e91ac991bec24a0 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Wed, 12 Jun 2024 21:50:59 +0200 Subject: Add stable Nheko appinstaller --- .gitlab-ci.yml | 3 +++ resources/Nheko.appinstaller | 10 ++++++++++ 2 files changed, 13 insertions(+) create mode 100644 resources/Nheko.appinstaller diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b5865f5d..fd157da9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -96,9 +96,12 @@ pages: - apk add curl jq script: - export LATEST_WINDOWS_NIGHTLY=$(curl "https://nheko.im/api/v4/projects/2/packages?package_name=windows-nightly&order_by=version&sort=desc" | jq -r '.[0].version') + - export LATEST_WINDOWS=$(curl "https://nheko.im/api/v4/projects/2/packages?package_name=windows&order_by=version&sort=desc" | jq -r '.[0].version') - sed "s/0.12.0.0/${LATEST_WINDOWS_NIGHTLY}/g" -i resources/NhekoNightly.appinstaller + - sed "s/0.12.0.0/${LATEST_WINDOWS}/g" -i resources/Nheko.appinstaller - mkdir public - mv resources/NhekoNightly.appinstaller public + - mv resources/Nheko.appinstaller public needs: - job: upload-windows optional: true diff --git a/resources/Nheko.appinstaller b/resources/Nheko.appinstaller new file mode 100644 index 00000000..004a0d73 --- /dev/null +++ b/resources/Nheko.appinstaller @@ -0,0 +1,10 @@ + + + + + + + true + + + -- cgit 1.4.1