Updated registry logic in RegEdit.kt

Moved installer registry checks to RegEdit.kt
This commit is contained in:
HannahPadd
2026-03-09 14:38:08 +01:00
parent a554b46263
commit 3172271ddd
2 changed files with 3 additions and 3 deletions

View File

@@ -157,8 +157,9 @@ class RegEditLinux : AbstractRegEdit() {
return keysMap
}
//This function should never run on Linux.
override fun getKeyByPath(hkey: WinReg.HKEY, path: String): Map<String, String> {
TODO("Not yet implemented")
return mutableMapOf<String, String>()
}
companion object {

View File

@@ -1,14 +1,13 @@
package dev.slimevr.desktop.install.drivers
import com.sun.jna.platform.win32.WinReg
import dev.slimevr.desktop.games.vrchat.AbstractRegEdit
import dev.slimevr.desktop.games.vrchat.RegEditWindows
import io.eiren.util.logging.LogManager
import java.io.File
class Windows {
val path: String? = System.getProperty("user.dir")
val path: String = System.getProperty("user.dir")
fun updateWindows() {
usbDrivers()