新增witeboard

This commit is contained in:
Tw93
2022-10-16 22:23:03 +08:00
parent 182a647c94
commit 1b31dcb63a
4 changed files with 13 additions and 8 deletions

View File

@@ -29,6 +29,11 @@
![3](https://cdn.fliggy.com/upic/CPVRnY.png) ![3](https://cdn.fliggy.com/upic/CPVRnY.png)
### Witeboard
下载地址:<https://tw93.fun/images/app/Witeboard.dmg>
![4](https://gw.alipayobjects.com/zos/k/mq/SCR-20221016-uv9.png)
## 开发 ## 开发
开始前参考 [tauri](https://tauri.app/v1/guides/getting-started/prerequisites#setting-up-macos) 快速配置好环境 开始前参考 [tauri](https://tauri.app/v1/guides/getting-started/prerequisites#setting-up-macos) 快速配置好环境

Binary file not shown.

View File

@@ -43,10 +43,10 @@ fn main() -> wry::Result<()> {
top: 154px !important; top: 154px !important;
} }
.drawing-board .toolbar .toolbar-action,
.c-swiper-container, .c-swiper-container,
.download_entry, .download_entry,
.lang, .lang, .copyright {
.copyright {
display: none !important; display: none !important;
} }
@@ -119,7 +119,7 @@ fn main() -> wry::Result<()> {
}; };
let _webview = WebViewBuilder::new(window)? let _webview = WebViewBuilder::new(window)?
.with_url("https://vercel.com/")? .with_url("https://witeboard.com/")?
// .with_devtools(true) // .with_devtools(true)
.with_initialization_script(script) .with_initialization_script(script)
.with_ipc_handler(handler) .with_ipc_handler(handler)

View File

@@ -1,7 +1,7 @@
{ {
"package": { "package": {
"productName": "Vercel", "productName": "Witeboard",
"version": "0.2.0" "version": "0.1.0"
}, },
"build": { "build": {
"beforeBuildCommand": "", "beforeBuildCommand": "",
@@ -14,7 +14,7 @@
"all": true "all": true
}, },
"bundle": { "bundle": {
"icon": ["icons/vercel.icns"], "icon": ["icons/witeboard.icns"],
"active": true, "active": true,
"category": "DeveloperTool", "category": "DeveloperTool",
"copyright": "", "copyright": "",
@@ -22,7 +22,7 @@
"depends": [] "depends": []
}, },
"externalBin": [], "externalBin": [],
"identifier": "com.tw93.vercel", "identifier": "com.tw93.witeboard",
"longDescription": "", "longDescription": "",
"macOS": { "macOS": {
"entitlements": null, "entitlements": null,
@@ -51,7 +51,7 @@
"fullscreen": false, "fullscreen": false,
"height": 728, "height": 728,
"resizable": true, "resizable": true,
"title": "Vercel", "title": "Witeboard",
"width": 1200 "width": 1200
} }
] ]