From b5f911ced4724cdbb6e0a4630312df0151e7749f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=BE=B7=E5=AE=87?= Date: Thu, 13 Aug 2026 14:11:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=B5=84=E6=BA=90=E4=B8=8A?= =?UTF-8?q?=E4=BC=A0=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 更新资源上传路径以适配新目录结构 --- apps/ai-game-creator-shell/src-tauri/src/commands.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/ai-game-creator-shell/src-tauri/src/commands.rs b/apps/ai-game-creator-shell/src-tauri/src/commands.rs index 74e1b09dd..01e49d91f 100644 --- a/apps/ai-game-creator-shell/src-tauri/src/commands.rs +++ b/apps/ai-game-creator-shell/src-tauri/src/commands.rs @@ -1474,7 +1474,7 @@ pub(crate) async fn import_ui_editor_remote_assets( &media_type, ); let local_name = sanitize_file_name(&asset_id); - let local_path = format!("assets/imported/remote-{local_name}.{extension}"); + let local_path = format!("assets/uploads/remote-{local_name}.{extension}"); let target = resolve_local_project_path(root, &local_path)?; if let Some(parent) = target.parent() { fs::create_dir_all(parent).map_err(|e| format!("创建导入目录失败:{e}"))?;