mirror of
https://github.com/LCE-Hub/LCE-Emerald-Launcher.git
synced 2026-09-25 01:20:55 +00:00
fix: get rid of UDP broadcase and use port 61000 instead of a random port
This commit is contained in:
@@ -62,10 +62,10 @@ export default function ChooseInstanceModal({
|
||||
setStatus("Connecting via relay...");
|
||||
const baseUrl = lceLiveService.apiBaseUrl;
|
||||
const accessToken = lceLiveService.accessToken ?? "";
|
||||
const port = await TauriService.startRelayProxy(baseUrl, accessToken, sessionId);
|
||||
await TauriService.startRelayProxy(baseUrl, accessToken, sessionId);
|
||||
setStatus("Launching game...");
|
||||
await TauriService.launchGame(selectedInstance, [
|
||||
{ name: invite.hostName || "LCELive Game", ip: "127.0.0.1", port }
|
||||
{ name: invite.hostName || "LCELive Game", ip: "127.0.0.1", port: 61000 }
|
||||
]);
|
||||
} else {
|
||||
setStatus("Launching game...");
|
||||
|
||||
Reference in New Issue
Block a user