feat(LCELive): add -ip, -port and -quitondisconnect for neoLegacy

This commit is contained in:
neoapps-dev
2026-05-21 14:14:45 +03:00
parent 773da39fe1
commit e6d88173d6
3 changed files with 21 additions and 9 deletions
@@ -64,9 +64,11 @@ export default function ChooseInstanceModal({
const accessToken = lceLiveService.accessToken ?? "";
await TauriService.startRelayProxy(baseUrl, accessToken, sessionId);
setStatus("Launching game...");
await TauriService.launchGame(selectedInstance, [
{ name: invite.hostName || "LCELive Game", ip: "127.0.0.1", port: 61000 }
]);
await TauriService.launchGame(
selectedInstance,
[{ name: invite.hostName || "LCELive Game", ip: "127.0.0.1", port: 61000 }],
["-ip", "127.0.0.1", "-port", "61000", "-quitondisconnect"]
);
} else {
setStatus("Launching game...");
await TauriService.stopAllProxies();