From b1e04e8a7b071b58eb07cd7fd6185f53b398b9b6 Mon Sep 17 00:00:00 2001 From: Suzumiya Date: Sat, 3 Oct 2026 15:04:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E5=8F=91=E8=A1=8C=E8=B5=84?= =?UTF-8?q?=E6=BA=90=E5=BD=92=E4=B8=80=E5=8C=96=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 使用真实 HTML 资源引用验证根绝对路径归一化,修复 CI 中的转义输入误报。 --- apps/ai-game-creator-shell/src-tauri/src/project/export.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/ai-game-creator-shell/src-tauri/src/project/export.rs b/apps/ai-game-creator-shell/src-tauri/src/project/export.rs index 2ae445229..09a9fc13b 100644 --- a/apps/ai-game-creator-shell/src-tauri/src/project/export.rs +++ b/apps/ai-game-creator-shell/src-tauri/src/project/export.rs @@ -619,7 +619,7 @@ mod tests { #[test] fn normalize_release_asset_references_removes_root_prefix_only_in_text() { - let source = br#""#; + let source = br#""#; let normalized = normalize_release_asset_references("index.html", source.to_vec()); let normalized = String::from_utf8(normalized).expect("normalized text"); assert!(normalized.contains("src=\"assets/hero.png\""));