1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-09 20:54:47 +08:00

Add simple updater support for linux AppImages

This commit is contained in:
Dean Herbert
2020-02-21 19:16:08 +09:00
Unverified
parent e18d736e4a
commit f9d7e7c6b8
+4
View File
@@ -78,6 +78,10 @@ namespace osu.Game.Updater
bestAsset = release.Assets?.Find(f => f.Name.EndsWith(".app.zip"));
break;
case RuntimeInfo.Platform.Linux:
bestAsset = release.Assets?.Find(f => f.Name.EndsWith(".AppImage"));
break;
case RuntimeInfo.Platform.Android:
// on our testing device this causes the download to magically disappear.
//bestAsset = release.Assets?.Find(f => f.Name.EndsWith(".apk"));