erkyrath / lectrote

The IF interpreter in an Electron shell

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Windows] Can't open two Lectrote instances

tobiasvl opened this issue · comments

If Lectrote is running and I try to launch another instance of it, I just get the following error message:

image

At first I thought it was because Lectrote was trying to load the same game file as I had loaded in the first instance (but it was locked or something), but it happens even if the first instance is on the splash screen with no game file loaded.

The app is set up to redirect new launches to the original app. (That is, the first-launched app will just open a new window.) This is an error which occurs during that process.

I've checked in a change that should prevent this error. (The argument list now ignores any argument that starts with a dash.)