update version numbers, don't have osname be static

This commit is contained in:
eyedeekay
2023-12-11 13:53:14 -05:00
parent 2a185f5fe3
commit 5e27d8588a
6 changed files with 16 additions and 12 deletions

View File

@ -260,7 +260,7 @@ public class WindowsServiceUtil {
*
* @return os name in lower-case, "windows" "mac" or "linux"
*/
protected static String osName() {
protected String osName() {
String osName = System.getProperty("os.name").toLowerCase();
if (osName.contains("windows"))
return "windows";