aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--[-rwxr-xr-x]installer.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/installer.py b/installer.py
index 05384ed..bdad7a6 100755..100644
--- 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