diff --git a/client/src/pages/InstanceManagerPage.tsx b/client/src/pages/InstanceManagerPage.tsx index 689f717..cefa8e0 100644 --- a/client/src/pages/InstanceManagerPage.tsx +++ b/client/src/pages/InstanceManagerPage.tsx @@ -471,8 +471,10 @@ const InstanceManagerPage: React.FC = () => { // 填充表单数据 setFormData({ name: pendingInstance.name || '', + description: '', workingDirectory: pendingInstance.path || '', startCommand: pendingInstance.startCommand || '', + autoStart: false, stopCommand: 'stop', enableStreamForward: false, programPath: '', diff --git a/server/src/modules/game/othergame/unified-functions.ts b/server/src/modules/game/othergame/unified-functions.ts index 8387102..88218b5 100644 --- a/server/src/modules/game/othergame/unified-functions.ts +++ b/server/src/modules/game/othergame/unified-functions.ts @@ -233,6 +233,7 @@ export interface DeploymentResult { targetDirectory?: string; details?: any; deploymentId?: string; + data?: any; } // ==================== 取消令牌实现 ==================== @@ -1765,6 +1766,7 @@ export async function extractTarXzFileWithCancellation(filePath: string, extract export interface UnifiedDeployOptions { game: GameType; targetDirectory: string; + platform?: 'windows' | 'linux'; // Minecraft特定选项 server?: string;