mirror of
https://github.com/Corfirean/coa-server-manager.git
synced 2026-11-12 12:01:02 +00:00
- Settings: a card removes a stopped server from the Manager (no files deleted). - The Players tab is now Accounts in all languages. - The five-minute background check no longer starts and stops MySQL on a stopped server; only an explicit check may start it. - A failed install keeps its marker until the folder is complete, cleans up after a failure that happens after the move, and reports the launcher's output; install and update errors have a Copy button. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
8 lines
403 B
TypeScript
8 lines
403 B
TypeScript
import type { UpdatePreview } from "./api";
|
|
|
|
export function isUpdateCurrent(preview: UpdatePreview): boolean {
|
|
return preview.from_version === preview.to_version
|
|
&& preview.items.every((item) => item.action === "skip")
|
|
&& (preview.database_check_error !== undefined || preview.database_checked === false || (preview.pending_migrations ?? (preview.migrations === 0 ? 0 : undefined)) === 0);
|
|
}
|