kiwix/kiwix-js-pwa

[Electron app] If port is already in use, automatically scan for a new one on app startup

Closed this issue · 0 comments

As reported in #617, the app will crash if the default port (or a new one set by a user) is already in use. We need to catch the exception, increment the port by 10, store the new value, and retry.