From 0ad83ecdf46ee6c410a4a3552a951a23360f031c Mon Sep 17 00:00:00 2001 From: volare <867484528@qq.com> Date: Tue, 22 Nov 2022 00:26:23 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E5=88=A0=E9=99=A4=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index 74e676e..78320e7 100644 --- a/README.md +++ b/README.md @@ -134,8 +134,6 @@ chmod +x ./script/build.sh && ./script/build.sh ## 打新包 -### 自己构建 - 1. 修改 `src-tauri` 目录下的 `tauri.conf.json` 中的 `url、productName、icon、identifier` 这 4 个字段,其中 icon 可以从 icons 目录选择一个,也可以去 [macOSicons](https://macosicons.com/#/) 下载符合产品名称的 2. 关于窗口属性设置,可以在 `tauri.conf.json` 修改 `windows` 属性对应的 `width/height`,是否全屏 `fullscreen`,是否可以调整大小 `resizable`,假如想适配 Mac 沉浸式头部,可以将 `transparent` 设置成 `true`,找到 Header 元素加一个 `padding-top` 样式即可,不想适配改成 `false` 也行 3. `npm run dev` 本地调试看看效果,此外可以使用 `npm run dev:debug` 进行容器调试