mirror of
https://github.com/sudosylabs/vnidrop.git
synced 2026-08-05 10:29:58 +02:00
Baseline Compose Multiplatform Iroh migration
This commit is contained in:
11
shared/src/jvmMain/kotlin/com/vnidrop/app/Platform.jvm.kt
Normal file
11
shared/src/jvmMain/kotlin/com/vnidrop/app/Platform.jvm.kt
Normal file
@@ -0,0 +1,11 @@
|
||||
package com.vnidrop.app
|
||||
|
||||
class JVMPlatform : Platform {
|
||||
override val name: String = "Java ${System.getProperty("java.version")}"
|
||||
override val defaultCoreDataDir: String =
|
||||
System.getProperty("user.home") + "/.vnidrop"
|
||||
override val defaultReceiveDir: String =
|
||||
System.getProperty("user.home") + "/Downloads"
|
||||
}
|
||||
|
||||
actual fun getPlatform(): Platform = JVMPlatform()
|
||||
Reference in New Issue
Block a user