Merge pull request #1161 from SiboVG/unstable

Update SoftwareUpdater to use .sh for Linux update
This commit is contained in:
SiboVG 2022-02-25 02:06:35 +01:00 committed by GitHub
commit 982224238c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,6 +28,7 @@ public class AssetHandler {
mapExtensionToPlatform.put(".dmg", UpdatePlatform.MAC_OS);
mapExtensionToPlatform.put(".exe", UpdatePlatform.WINDOWS);
mapExtensionToPlatform.put(".AppImage", UpdatePlatform.LINUX);
mapExtensionToPlatform.put(".sh", UpdatePlatform.LINUX);
mapExtensionToPlatform.put(".jar", UpdatePlatform.JAR);
mapPlatformToName.put(UpdatePlatform.MAC_OS, "Mac OS");