mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-10-30 09:30:47 +03:00
Add stable Nheko appinstaller
This commit is contained in:
parent
24c687d5cd
commit
a91e39de30
2 changed files with 13 additions and 0 deletions
|
@ -96,9 +96,12 @@ pages:
|
||||||
- apk add curl jq
|
- apk add curl jq
|
||||||
script:
|
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_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_NIGHTLY}/g" -i resources/NhekoNightly.appinstaller
|
||||||
|
- sed "s/0.12.0.0/${LATEST_WINDOWS}/g" -i resources/Nheko.appinstaller
|
||||||
- mkdir public
|
- mkdir public
|
||||||
- mv resources/NhekoNightly.appinstaller public
|
- mv resources/NhekoNightly.appinstaller public
|
||||||
|
- mv resources/Nheko.appinstaller public
|
||||||
needs:
|
needs:
|
||||||
- job: upload-windows
|
- job: upload-windows
|
||||||
optional: true
|
optional: true
|
||||||
|
|
10
resources/Nheko.appinstaller
Normal file
10
resources/Nheko.appinstaller
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<AppInstaller Uri="https://nheko-reborn.pages.nheko.im/nheko/Nheko.appinstaller" Version="0.0.0.1" xmlns="http://schemas.microsoft.com/appx/appinstaller/2018">
|
||||||
|
<MainPackage Name="im.nheko.Nheko" Version="0.12.0.0" Publisher="CN=Nicolas Werner, O=Nicolas Werner, L=Munich, S=Bavaria, C=DE" Uri="https://nheko.im/api/v4/projects/2/packages/generic/windows/0.12.0.0/nheko.msix" ProcessorArchitecture="x64" />
|
||||||
|
<UpdateSettings>
|
||||||
|
<!-- We can't set this to check only once a month, so just check once a week. If the user doesn't want that ping, they should install the msix directly. -->
|
||||||
|
<OnLaunch HoursBetweenUpdateChecks="168" ShowPrompt="true" />
|
||||||
|
<ForceUpdateFromAnyVersion>true</ForceUpdateFromAnyVersion>
|
||||||
|
</UpdateSettings>
|
||||||
|
</AppInstaller>
|
||||||
|
|
Loading…
Reference in a new issue