mirror of
https://github.com/Corfirean/coa-server-manager.git
synced 2026-11-19 03:25:56 +00:00
Install the pinned MSVC toolset from the Manager
Modules must be compiled by the core's exact compiler. The Toolchain tab now offers Microsoft's stable-channel Build Tools bootstrapper (VS 18) with the 14.44 toolset, core build tools, Windows SDK 26100 and CMake preselected: downloaded from aka.ms, Authenticode-checked for Microsoft, run in its own UI (modify mode for an existing Build Tools 18). Shows the required and selected cl.exe versions. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
da94fb49a4
commit
3be5fe9609
6 files changed
+213
No files matched your search
@@ -352,6 +352,10 @@ export interface ToolchainStatus {
|
||||
sdk_available: boolean;
|
||||
sdk_dir?: string | null;
|
||||
sdk_abi_fingerprint?: string | null;
|
||||
/** MSVC toolset picked for builds, its cl.exe version, and the version this core's SDK requires. */
|
||||
msvc_toolset?: string | null;
|
||||
msvc_cl_version?: string | null;
|
||||
required_cl_version?: string | null;
|
||||
ready: boolean;
|
||||
diagnostic_message: string;
|
||||
}
|
||||
@@ -850,6 +854,8 @@ export const api = {
|
||||
consoleRisk: (command: string) => invoke<"normal" | "dangerous">("console_risk", { command }),
|
||||
consoleCommand: (id: string, command: string, confirmed: boolean) => invoke<string>("console_command", { id, command, confirmed }),
|
||||
previewPreset: (id: string, scope: Scope, preset: string) => invoke<PresetPreview>("preview_preset", { id, scope, preset }),
|
||||
previewInstallMsvc: (realmId?: string) =>
|
||||
invoke<{ ready: boolean; restart_required: boolean; message: string; toolchain: ToolchainStatus }>("preview_install_msvc", { realmId: realmId ?? null }),
|
||||
previewToolchainStatus: (realmId?: string) =>
|
||||
invoke<ToolchainStatus>("preview_toolchain_status", { realmId: realmId ?? null }),
|
||||
previewRegisterTestRealm: (path?: string) => invoke<ServerSummary>("preview_register_test_realm", { path: path ?? null }),
|
||||
|
||||
Reference in new issue
Block a user