Add simple updater support for linux AppImages

This commit is contained in:
Dean Herbert 2020-02-21 19:16:08 +09:00
parent e18d736e4a
commit f9d7e7c6b8

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"));