Files
MemRelay/projects/4111f53b-afa5-48e1-aaf8-d70a7edc0638/技术栈与本地存储策略.md
T

1.4 KiB
Raw Blame History

title, type, permalink, stable_id, scope, memory_type, project_id, usage_profile_id, status, revision, request_id, created_at, updated_at, tags
title type permalink stable_id scope memory_type project_id usage_profile_id status revision request_id created_at updated_at tags
技术栈与本地存储策略 decision main/projects/4111f53b-afa5-48e1-aaf8-d70a7edc0638/技术栈与本地存储策略 b0479fa6-96a6-4bdf-a6a5-6e8aceeb0250 project decision 4111f53b-afa5-48e1-aaf8-d70a7edc0638 7aee455b-24cc-4008-bdaf-443721e6f939 active 1 aoe3-tauri-storage-decision-20260831-01 2026-08-31T14:44:24.800659+00:00 2026-08-31T14:44:24.800659+00:00
architecture
tauri2
rust
vue3
typescript
webview2
portable

编辑器技术栈确定为 Tauri 2 + Rust + Vue 3 + TypeScript。Windows WebView2 使用项目内固定版本的 Fixed Runtime,保存于当前项目目录的 vendor/webview2(或等价目录);构建时只使用本地 Runtime,不在每次编译时联网下载,缺失时应直接报错。安装后的应用数据、配置、缓存、日志、临时工作区和导出文件以可执行文件所在安装目录为根,避免写入 C 盘的 AppData/LocalAppData;WebView2 User Data Folder 也应配置到安装目录。安装包允许用户选择非 C 盘目录,优先 NSIS/Portable 方案,不默认安装到 Program Files,以避免普通用户无写权限。无法控制 Windows 系统自身的 TEMP、崩溃转储或驱动缓存,但应用主动生成的文件必须遵守安装目录策略。