You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
While testing a fix to #35, I noticed that a fresh portable version (without a config.ini) will crash on its first run if another instance of the application (portable or installed) is already running. It also occurs if the config.ini file does not contain a "LastCheckForUpdates" line (but only if another instance is running).
To Reproduce
Extract two copies of the portable version into different locations.
Run the exe in the first location. The application window will open.
Run the exe in the second location. The application window will briefly open, then close with an error message (text here, screenshot below). A config.ini will also be generated.
Run the exe in the second location again. The application window will briefly open and close without error.
Delete the config.ini file from the second location.
Run the exe in the second location. The error returns. A new config.ini will be generated.
Edit the config.ini file in the second location to remove the "LastCheckForUpdates=..." line and add a "Logging=1" line.
Run the exe in the second location. The error occurs again.
Expected behavior
The second instance always exits cleanly without crashing, ideally after restoring and activating the already running instance.
Screenshots
Version
1.11 portable + 1.11 portable, 1.10.4 installed + 1.11-3-g7872c3e-dirty
OS
Windows 10 Pro 22H2 (build 19045.2965), 64 bit
Log file log.txt (from the second instance; nothing extra is added to the first)
The text was updated successfully, but these errors were encountered:
Describe the bug
While testing a fix to #35, I noticed that a fresh portable version (without a config.ini) will crash on its first run if another instance of the application (portable or installed) is already running. It also occurs if the config.ini file does not contain a "LastCheckForUpdates" line (but only if another instance is running).
To Reproduce
Expected behavior
The second instance always exits cleanly without crashing, ideally after restoring and activating the already running instance.
Screenshots
Version
1.11 portable + 1.11 portable, 1.10.4 installed + 1.11-3-g7872c3e-dirty
OS
Windows 10 Pro 22H2 (build 19045.2965), 64 bit
Log file
log.txt (from the second instance; nothing extra is added to the first)
The text was updated successfully, but these errors were encountered: