mirror of
https://github.com/SlimeVR/SlimeVR-Server.git
synced 2026-12-01 06:12:35 -08:00
Code cleanup
This commit is contained in:
1 parent
95b64883f6
commit
1ebd8a4f02
20 files changed
+48
-32
No files matched your search
@@ -10,7 +10,7 @@ import dev.slimevr.Platform
|
||||
import dev.slimevr.VRServer
|
||||
import dev.slimevr.bvh.BVHManager
|
||||
import dev.slimevr.config.AppConfig
|
||||
import dev.slimevr.context.debug.ContextDebug
|
||||
import dev.slimevr.context.debug.contextDebugEnabled
|
||||
import dev.slimevr.desktop.config.DesktopConfigStorage
|
||||
import dev.slimevr.desktop.hid.createDesktopHIDManager
|
||||
import dev.slimevr.desktop.install.executeShellCommand
|
||||
@@ -38,7 +38,7 @@ import kotlinx.coroutines.awaitCancellation
|
||||
import kotlinx.coroutines.runBlocking
|
||||
|
||||
fun main(args: Array<String>) = runBlocking<Unit> {
|
||||
ContextDebug.enabled = System.getProperty("slimevr.debug.context") == "true" ||
|
||||
contextDebugEnabled = System.getProperty("slimevr.debug.context") == "true" ||
|
||||
System.getenv("SLIMEVR_DEBUG_CONTEXT") == "true"
|
||||
|
||||
val featureFlags = FeatureFlags()
|
||||
|
||||
Reference in new issue
Block a user