diff options
Diffstat (limited to 'src/main/manaplus/manaplus.ts')
-rw-r--r-- | src/main/manaplus/manaplus.ts | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/main/manaplus/manaplus.ts b/src/main/manaplus/manaplus.ts index 9183b94..2f028b8 100644 --- a/src/main/manaplus/manaplus.ts +++ b/src/main/manaplus/manaplus.ts @@ -42,7 +42,8 @@ export namespace ManaPlus{ //params = ['-v'];// DEBUG: This option is to disable manaplus for testing (open it just for getting the version) } catch (e){ console.log(e); - Status.showError("Launch Preperation Failed", e.message, "Launch preparation failed") + Status.showError("Launch Preperation Failed (LPF_PARMS)", e.message, "Launch preparation failed"); + Status.setPlaying(false); return; } let willUpdate:boolean=false; @@ -54,7 +55,9 @@ export namespace ManaPlus{ willUpdate = (version.isNewVersion && await updateDialog(version.newestVersion)); } catch (e){ console.log(e); - Status.showError("Launch Preperation Failed", e.message, "Launch preparation failed") + Status.showError("Launch Preperation Failed (LPF_Update): This error can also mean that you are offline, \ +please check you network connection first.", e.message, "Launch preparation failed") + Status.setPlaying(false); return; } } else { |