chore: 导入旧记忆备份供恢复

This commit is contained in:
2026-09-23 22:38:40 +08:00
parent 5313fcee7a
commit 6a6a895eaf
638 changed files with 29816 additions and 1 deletions
@@ -0,0 +1,25 @@
---
title: 技术栈与本地存储策略
type: decision
permalink: main/projects/4111f53b-afa5-48e1-aaf8-d70a7edc0638/技术栈与本地存储策略
stable_id: b0479fa6-96a6-4bdf-a6a5-6e8aceeb0250
scope: project
memory_type: decision
project_id: 4111f53b-afa5-48e1-aaf8-d70a7edc0638
usage_profile_id: 7aee455b-24cc-4008-bdaf-443721e6f939
status: active
revision: 1
request_id: aoe3-tauri-storage-decision-20260831-01
created_at: '2026-08-31T14:44:24.800659+00:00'
updated_at: '2026-08-31T14:44:24.800659+00:00'
tags:
- 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、崩溃转储或驱动缓存,但应用主动生成的文件必须遵守安装目录策略。