galaxy-integration-ps2
galaxy-integration-ps2 copied to clipboard
Use random TCP port instead of 8080
Currently, the plugin messes with other tools that might want to use the 8080 port (many development web servers). Since GOG Galaxy only runs on Windows, we can use 0 instead, which instructs the OS to assign a random port, which we then can get back from the socket instance.
Ideally, the authentication server would not run at all unless we're actually in the setup sequence, but at least decoupling it from a known port number should be a good first step.