SlimeVR / SlimeVR-Installer

MIT License
43 stars 16 forks source link

Add compatability for old PowerShell versions #25

Closed ButterscotchV closed 2 years ago

ButterscotchV commented 2 years ago

Turns out older PowerShell versions suck, so this should fix a couple of the compatability issues Works on Windows 8, but untested as of yet with modern Windows/PowerShell, will do that in a bit

ButterscotchV commented 2 years ago

This does work on Windows 11/PowerShell 7, though now it saves an unformatted openvrpaths.vrpath file, which is fine but just different than it originally had done. This could be worked around by handling the error and trying to use this format instead if the default fails? I'd be interested to hear people's input on that