From 992f747c5cd93b4fd8c5e27c3bd24766c5875a5c Mon Sep 17 00:00:00 2001 From: 0neGal Date: Sat, 28 May 2022 15:49:18 +0200 Subject: fixed: Linux launch error alert not showing This was supposed to always be there, however I somehow forgot to add the winAlert() function, and forgot about it, causing some verbose errors instead, not useful! --- src/utils.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/utils.js b/src/utils.js index e63297e..de052f5 100644 --- a/src/utils.js +++ b/src/utils.js @@ -380,8 +380,10 @@ function updatevp(autoinstall) { // however it'll be added at some point. function launch(version) { if (process.platform == "linux") { + winAlert(lang("cli.launch.linuxerror")) console.error("error:", lang("cli.launch.linuxerror")) cli.exit(1); + return; } process.chdir(settings.gamepath); -- cgit v1.2.3