diff --git a/README.md b/README.md index f56d52d..0cf0d58 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,11 @@ ![3](https://cdn.fliggy.com/upic/CPVRnY.png) +### Witeboard + +下载地址: +![4](https://gw.alipayobjects.com/zos/k/mq/SCR-20221016-uv9.png) + ## 开发 开始前参考 [tauri](https://tauri.app/v1/guides/getting-started/prerequisites#setting-up-macos) 快速配置好环境 diff --git a/src-tauri/icons/witeboard.icns b/src-tauri/icons/witeboard.icns new file mode 100644 index 0000000..78e6851 Binary files /dev/null and b/src-tauri/icons/witeboard.icns differ diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rs index d619680..0ebc380 100644 --- a/src-tauri/src/main.rs +++ b/src-tauri/src/main.rs @@ -43,10 +43,10 @@ fn main() -> wry::Result<()> { top: 154px !important; } + .drawing-board .toolbar .toolbar-action, .c-swiper-container, .download_entry, - .lang, - .copyright { + .lang, .copyright { display: none !important; } @@ -119,7 +119,7 @@ fn main() -> wry::Result<()> { }; let _webview = WebViewBuilder::new(window)? - .with_url("https://vercel.com/")? + .with_url("https://witeboard.com/")? // .with_devtools(true) .with_initialization_script(script) .with_ipc_handler(handler) diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 896b458..31b6e1f 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -1,7 +1,7 @@ { "package": { - "productName": "Vercel", - "version": "0.2.0" + "productName": "Witeboard", + "version": "0.1.0" }, "build": { "beforeBuildCommand": "", @@ -14,7 +14,7 @@ "all": true }, "bundle": { - "icon": ["icons/vercel.icns"], + "icon": ["icons/witeboard.icns"], "active": true, "category": "DeveloperTool", "copyright": "", @@ -22,7 +22,7 @@ "depends": [] }, "externalBin": [], - "identifier": "com.tw93.vercel", + "identifier": "com.tw93.witeboard", "longDescription": "", "macOS": { "entitlements": null, @@ -51,7 +51,7 @@ "fullscreen": false, "height": 728, "resizable": true, - "title": "Vercel", + "title": "Witeboard", "width": 1200 } ]