🐛 支持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
> 用 Rust 来打包你的 App底层使用 Tauri当前支持微信读书有更多想法欢迎提 Issue。
> 用 Rust 来打包你的 App底层使用 Tauri当前支持微信读书、Flomo,有更多想法,欢迎提 Issue。
## 下载地址
@@ -8,8 +8,14 @@
## 展示效果
### 微信读书
![1](https://cdn.fliggy.com/upic/ffUmdj.png)
### Flomo
![2](https://cdn.fliggy.com/upic/B49SAc.png)
## 开发步骤
```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)?
.with_url("https://weread.qq.com/")?
.with_url("https://v.flomoapp.com/mine")?
// .with_devtools(true)
.with_initialization_script(script)
.with_ipc_handler(handler)

View File

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