Add support for macOS and backport to older OS versions

This commit is contained in:
tyiu committed 2026-09-03 20:06:59 +03:00
1 parent abf7cf2e83
commit deef01a58a
13 files changed
+123 -39

No files matched your search

@@ -0,0 +1,9 @@
package xyz.tyiu.satsprice
import platform.Foundation.NSProcessInfo
class MacOSPlatform : Platform {
override val name: String = "macOS " + NSProcessInfo.processInfo.operatingSystemVersionString
}
actual fun getPlatform(): Platform = MacOSPlatform()