隔离原生 HTTP 的系统代理特性
关闭 Tauri HTTP 插件默认 OS 自动代理特性 保留字符集 Cookie HTTP2 与 Rustls 能力 锁定 Native 门禁和共享传输边界防止依赖特性回退
This commit is contained in:
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user