Skip to content

feat: rewrite the project using Tauri#639

Draft
chengcheng84 wants to merge 11 commits into
docmirror:masterfrom
chengcheng84:feat/tauri
Draft

feat: rewrite the project using Tauri#639
chengcheng84 wants to merge 11 commits into
docmirror:masterfrom
chengcheng84:feat/tauri

Conversation

@chengcheng84
Copy link
Copy Markdown
Contributor

No description provided.

chengcheng84 and others added 11 commits May 16, 2026 12:08
- Restructure directories to follow electron-vite conventions
  - src/background.js → src/main/index.js
  - src/preload.js → src/preload/index.js
  - src/view/ → src/renderer/src/
  - src/bridge/ → src/main/bridge/ and src/renderer/src/bridge/
- Migrate config from vite.config.js to electron.vite.config.mjs
- Change output directory from dist/ to out/
- Enable preload script with contextBridge for secure electron API exposure
- Update renderer process to use window.electron for API access
- Configure automatic copying of mitmproxy.js to output directory

BREAKING CHANGE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant