🐛 支持flomo

This commit is contained in:
Tw93
2022-10-15 09:40:32 +08:00
parent 1a0687a8b4
commit 114d91f2a0
4 changed files with 12 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
# Pake # Pake
> 用 Rust 来打包你的 App底层使用 Tauri当前支持微信读书有更多想法欢迎提 Issue。 > 用 Rust 来打包你的 App底层使用 Tauri当前支持微信读书、Flomo,有更多想法,欢迎提 Issue。
## 下载地址 ## 下载地址
@@ -8,8 +8,14 @@
## 展示效果 ## 展示效果
### 微信读书
![1](https://cdn.fliggy.com/upic/ffUmdj.png) ![1](https://cdn.fliggy.com/upic/ffUmdj.png)
### Flomo
![2](https://cdn.fliggy.com/upic/B49SAc.png)
## 开发步骤 ## 开发步骤
```shell ```shell

BIN
src-tauri/icons/flomo.icns Normal file

Binary file not shown.

View File

@@ -107,7 +107,7 @@ fn main() -> wry::Result<()> {
}; };
let _webview = WebViewBuilder::new(window)? let _webview = WebViewBuilder::new(window)?
.with_url("https://weread.qq.com/")? .with_url("https://v.flomoapp.com/mine")?
// .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,6 +1,6 @@
{ {
"package": { "package": {
"productName": "WeRead", "productName": "Flomo",
"version": "0.1.0" "version": "0.1.0"
}, },
"build": { "build": {
@@ -14,7 +14,7 @@
"all": true "all": true
}, },
"bundle": { "bundle": {
"icon": ["icons/weRead.icns"], "icon": ["icons/flomo.icns"],
"active": true, "active": true,
"category": "DeveloperTool", "category": "DeveloperTool",
"copyright": "", "copyright": "",
@@ -22,7 +22,7 @@
"depends": [] "depends": []
}, },
"externalBin": [], "externalBin": [],
"identifier": "com.tw93.weRead", "identifier": "com.tw93.flomo",
"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": "WeRead", "title": "Flomo",
"width": 1200 "width": 1200
} }
] ]