mirror of
https://github.com/Corfirean/coa-server-manager.git
synced 2026-11-24 11:25:56 +00:00
feat(client): drop built-in client download, point players to the community launcher
The community moved the game client behind its official launcher (account sign-in, signed manifest, its own CDN), so the public manifest now answers 404 and the Manager must not pose as the launcher. Remove the client download and update path (clientdl, plan/sync/download/cancel commands, update job and progress UI, version tracking) and reduce "Set up the game client" to: open coa-development.org for the launcher, or pick a folder that already has the game. Linking a folder, realmlist switch, companion addon and the custom-race patch are unchanged. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
41977442e9
commit
169d8b8977
22 files changed
+116
-2036
No files matched your search
@@ -19,7 +19,7 @@ import { DashboardPage } from "@/screens/DashboardPage";
|
||||
import { Button } from "@/components/ui/button";
|
||||
import { Card } from "@/components/ui/card";
|
||||
import { startServerUpdatePolling, useServerUpdate } from "@/lib/serverUpdate";
|
||||
import { startClientPolling } from "@/lib/clientUpdate";
|
||||
import { checkClient } from "@/lib/clientUpdate";
|
||||
import type { UnsavedChangesGuard } from "@/lib/unsavedGuard";
|
||||
|
||||
type Page = "overview" | "bots" | "dashboard" | "server" | "modules" | "players" | "characters" | "friends" | "backups" | "console" | "report" | "settings";
|
||||
@@ -88,14 +88,10 @@ export function Shell(props: {
|
||||
if (hiddenPages.includes(page)) setPage("overview");
|
||||
}, [hiddenPages, page]);
|
||||
|
||||
// Look for a server and a game client update when the app starts and then every five minutes.
|
||||
// Look for a server update when the app starts and then every five minutes; note whether a game client is linked.
|
||||
useEffect(() => {
|
||||
const stopServer = startServerUpdatePolling(props.activeId);
|
||||
const stopClient = startClientPolling(props.activeId);
|
||||
return () => {
|
||||
stopServer();
|
||||
stopClient();
|
||||
};
|
||||
void checkClient(props.activeId);
|
||||
return startServerUpdatePolling(props.activeId);
|
||||
}, [props.activeId]);
|
||||
|
||||
return (
|
||||
|
||||
Reference in new issue
Block a user