On most systems supporting Unix sockets, the maximum length of a socket name is quite low (e.g. on macOS 104 characters and on Linux 108). If the name is too long, the sockets will not work and thus sending messages to a running instance of the launcher will not work.
Signed-off-by: Kenneth Chew <79120643+kthchew@users.noreply.github.com>
Instead of just checking if the new version started, make sure
it is able to write its IPC key to a file and then use the key
to connect to the process.