hot-reload-core/src/main/kotlin/org/jetbrains/compose/reload/core/Os.kt [18:27]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - val os = System.getProperty("os.name") return when { os.startsWith("Mac", ignoreCase = true) -> MacOs os.startsWith("Win", ignoreCase = true) -> Windows os.startsWith("Linux", ignoreCase = true) -> Linux else -> null } } @JvmStatic - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - repository-tools/src/main/kotlin/Os.kt [12:21]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - val os = System.getProperty("os.name") return when { os.startsWith("Mac", ignoreCase = true) -> MacOs os.startsWith("Win", ignoreCase = true) -> Windows os.startsWith("Linux", ignoreCase = true) -> Linux else -> null } } @JvmStatic - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -