Conversation
81bc9d6 to
35955f7
Compare
| } | ||
|
|
||
| fun steamVRDriver() { | ||
| val steamVRLocation = executeShellCommand("powershell.exe", "-Command", "(Get-ItemProperty \'HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Steam App 250820\').InstallLocation")?.trim() |
There was a problem hiding this comment.
we already have tooling to read from registry in the server. maybe we should use that?
| LogManager.warning("Couldn't determine OS distribution: $e") | ||
| return | ||
| } | ||
| if (linuxFlavour.contains("ID=steamos") || linuxFlavour.contains("ID=nixos") || linuxFlavour.contains("ID_LIKE=nixos")) { |
There was a problem hiding this comment.
i dont like the idea of checking for os like that. makes expension annoying imo
and it is duplicated in two locations in the code.
There was a problem hiding this comment.
I'm thinking of making it so the InstalledInfoRequest packet has a table of requests it can do and have the gui specifically ask for udev rules when on Linux.
There was a problem hiding this comment.
That kinda feels like moving the problem to a differerent spot instead of solving it though.
|
|
||
| class Windows { | ||
|
|
||
| val path: String? = System.getProperty("user.dir") |
There was a problem hiding this comment.
why is it nullable if it is set here?
|
|
||
| class Linux { | ||
|
|
||
| val path: String? = System.getProperty("user.dir") |
|
I agree with all the proposed changes except the last one. Once this is ready we can merge once v19 is out |
09887be to
5d8e827
Compare

This pr contains changes needed for the steam release to run.
Changes include:
This PR relies on this PR from solarXR SlimeVR/SolarXR-Protocol#198