From 2490dd3978b04aeaa543faf5d3a7903deed9d895 Mon Sep 17 00:00:00 2001 From: Alexander Hayden Date: Tue, 22 Dec 2020 18:36:04 -0500 Subject: make installer finally work with all Windows maybe --- installer.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) mode change 100755 => 100644 installer.py (limited to 'installer.py') diff --git a/installer.py b/installer.py old mode 100755 new mode 100644 index 05384ed..bdad7a6 --- a/installer.py +++ b/installer.py @@ -31,7 +31,8 @@ def install_forge(): subprocess.check_output([util.find_jre(), "-jar", forge_path]) except RuntimeError: if sys.platform == 'win32': - subprocess.check_output(["start", forge_path]) + # if we can't find java, see if Windows can... + subprocess.check_output([f'cmd /C start "" "{forge_path}"']) else: raise -- cgit v1.2.3