diff --git a/README.md b/README.md index a566f86..78c4d2a 100644 --- a/README.md +++ b/README.md @@ -42,24 +42,21 @@ Once `dev` or `build` npm-script executed will be generate named `dist` folder. ```tree ├ -├── configs -├ ├── vite-main.config.ts Main-process config file, for -> src/main -├ ├── vite-preload.config.ts Preload-script config file, for -> src/preload -├ ├── vite-renderer.config.ts Renderer-script config file, for -> src/renderer -├ -├── dist After build, it's generated according to the "src" directory +├── dist After build, it's generated according to the "src" directory ├ ├── main ├ ├── preload ├ ├── renderer ├ ├── scripts -├ ├── build.mjs Build script, for -> npm run build -├ ├── watch.mjs Develop script, for -> npm run dev +├ ├── build.mjs Build script, for -> npm run build +├ ├── vite.config.mjs Marin-process, Preload-script vite-config +├ ├── watch.mjs Develop script, for -> npm run dev ├ ├── src -├ ├── main Main-process source code -├ ├── preload Preload-script source code -├ ├── renderer Renderer-process source code +├ ├── main Main-process source code +├ ├── preload Preload-script source code +├ ├── renderer Renderer-process source code +├ ├── vite.config.ts Renderer-process vite-config ├ ``` diff --git a/README.zh-CN.md b/README.zh-CN.md index fc4c5a9..1592400 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -42,24 +42,21 @@ ```tree ├ -├── configs -├ ├── vite-main.config.ts 主进程配置文件,编译 src/main -├ ├── vite-preload.config.ts 预加载脚本配置文件,编译 src/preload -├ ├── vite-renderer.config.ts 渲染进程配置文件,编译 src/renderer -├ -├── dist 构建后,根据 src 目录生成 +├── dist 构建后,根据 src 目录生成 ├ ├── main ├ ├── preload ├ ├── renderer ├ ├── scripts -├ ├── build.mjs 项目构建脚本,对应 npm run build -├ ├── watch.mjs 项目开发脚本,对应 npm run dev +├ ├── build.mjs 项目构建脚本,对应 npm run build +├ ├── vite.config.mjs 主进程, 预加载脚本源码 vite 配置 +├ ├── watch.mjs 项目开发脚本,对应 npm run dev ├ ├── src -├ ├── main 主进程源码 -├ ├── preload 预加载脚本源码 -├ ├── renderer 渲染进程源码 +├ ├── main 主进程源码 +├ ├── preload 预加载脚本源码 +├ ├── renderer 渲染进程源码 +├ ├── vite.config.ts 渲染进程 vite 配置 ├ ```