diff --git a/Readme.md b/Readme.md index 7578071b8..cdb51d45b 100644 --- a/Readme.md +++ b/Readme.md @@ -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 diff --git a/src-tauri/icons/flomo.icns b/src-tauri/icons/flomo.icns new file mode 100644 index 000000000..033477016 Binary files /dev/null and b/src-tauri/icons/flomo.icns differ diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rs index 512bb3239..c1e9c2db5 100644 --- a/src-tauri/src/main.rs +++ b/src-tauri/src/main.rs @@ -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) diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index b10ed1c76..7450cfac1 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -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 } ]