Closed 0xfadead closed 1 year ago
I don't think this is needed, it'd be preparing for a situation where someone would run Viper outside of the ways that we provide it. We only package it for Windows and Linux. And there are no plans to add support to any other platforms. The kind of person who'd even run a BSD OS is likely also the same kind of person who really doesn't need a mod manager for launching the game, if at all.
But were this to be implemented, then we'd also have to make sure process.platform
is capitalized correctly and or even written correctly. Notably, on Linux it'll return to linux
, and FreeBSD and OpenBSD will both be lowercase as well. And for macOS it'd be darwin
Unless there's something I've missed here, then I'll likely close this, but do feel free to let me know if that's the case.
Thank you for the quick reply! Your points are certainly valid, so I'll close this pull request with this comment.
Instead of checking if the platform is Linux, it instead checks, if the platform is not Windows and displays a error message with the according platform.