- Introduced BlueprintModal in ProjectCard for project blueprint visualization. - Added state management for displaying the BlueprintModal. - Implemented Blueprint-related interfaces and functions in commands.ts for handling blueprint data.
36 lines
904 B
Markdown
36 lines
904 B
Markdown
---
|
||
id: wsl-proxy
|
||
name: WSL 代理同步
|
||
status: done
|
||
progress: 100
|
||
---
|
||
|
||
## 概述
|
||
将 Windows 上的 v2rayN 代理配置同步到 WSL 环境,解决 WSL 下 curl/git/npm 等工具无法使用代理的问题。
|
||
|
||
## 任务卡
|
||
|
||
### ✅ 代理同步
|
||
- status: done
|
||
- files: src-tauri/src/commands/proxy.rs, src/components/proxy/ProxyPage.tsx
|
||
|
||
读取 v2rayN 配置,生成 WSL 的 proxy 环境变量脚本。
|
||
|
||
### ✅ 代理状态检测
|
||
- status: done
|
||
- files: src-tauri/src/commands/network.rs, src/components/proxy/ProxyPage.tsx
|
||
|
||
检测 WSL 中当前的代理配置状态(是否已配置、IP 是否过期)。
|
||
|
||
### ✅ 代理清除
|
||
- status: done
|
||
- files: src-tauri/src/commands/proxy.rs
|
||
|
||
一键清除 WSL 中的代理配置。
|
||
|
||
### ✅ 代理一致性测试
|
||
- status: done
|
||
- files: src/components/proxy/ProxyPage.tsx
|
||
|
||
同时测试 Windows 和 WSL 的出口 IP,验证代理是否生效且一致。
|