mirror of
https://github.com/SlimeVR/SlimeVR-Server.git
synced 2026-04-06 02:01:58 +02:00
Updated registry logic in RegEdit.kt
Moved installer registry checks to RegEdit.kt
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user