This commit is contained in:
yxsj245
2025-10-30 11:14:49 +08:00
parent b4344e15d3
commit f9474a4ba2
2 changed files with 4 additions and 0 deletions

View File

@@ -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: '',

View File

@@ -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;