隔离原生 HTTP 的系统代理特性
Project CI / Repository checks (pull_request) Successful in 1m20s
Project CI / Frontend tests (pull_request) Successful in 3m16s
Project CI / Backend tests (pull_request) Successful in 4m32s
Project CI / Native shell tests (pull_request) Successful in 16m18s

关闭 Tauri HTTP 插件默认 OS 自动代理特性

保留字符集 Cookie HTTP2 与 Rustls 能力

锁定 Native 门禁和共享传输边界防止依赖特性回退
This commit is contained in:
2026-08-11 18:05:06 +08:00
parent 0a19a0e1c9
commit f14050d978
4 changed files with 10 additions and 40 deletions
+4 -2
View File
@@ -2385,11 +2385,13 @@ function assertAiGameCreatorShellUserDevBoundary() {
);
}
if (
!aiGameCreatorCargoManifestSource.includes('tauri-plugin-http = "2.5.9"') ||
!aiGameCreatorCargoManifestSource.includes(
'tauri-plugin-http = { version = "2.5.9", default-features = false, features = ["charset", "cookies", "http2", "rustls-tls"] }',
) ||
!aiGameCreatorShellTauriSource.includes('tauri_plugin_http::init()')
) {
throw new Error(
'AI game creator release must register the native HTTP plugin',
'AI game creator release must register the native HTTP plugin without the OS automatic system-proxy feature',
);
}
if (