Skip to content

Commit

Permalink
🐛 支持flomo
Browse files Browse the repository at this point in the history
  • Loading branch information
tw93 committed Oct 15, 2022
1 parent 1a0687a commit 114d91f
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
8 changes: 7 additions & 1 deletion Readme.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,21 @@
# Pake

> 用 Rust 来打包你的 App,底层使用 Tauri,当前支持微信读书,有更多想法,欢迎提 Issue。
> 用 Rust 来打包你的 App,底层使用 Tauri,当前支持微信读书、Flomo,有更多想法,欢迎提 Issue。
## 下载地址

- <https://github.com/tw93/pake/releases>

## 展示效果

### 微信读书

![1](https://cdn.fliggy.com/upic/ffUmdj.png)

### Flomo

![2](https://cdn.fliggy.com/upic/B49SAc.png)

## 开发步骤

```shell
Expand Down
Binary file added src-tauri/icons/flomo.icns
Binary file not shown.
2 changes: 1 addition & 1 deletion src-tauri/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
8 changes: 4 additions & 4 deletions src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"package": {
"productName": "WeRead",
"productName": "Flomo",
"version": "0.1.0"
},
"build": {
Expand All @@ -14,15 +14,15 @@
"all": true
},
"bundle": {
"icon": ["icons/weRead.icns"],
"icon": ["icons/flomo.icns"],
"active": true,
"category": "DeveloperTool",
"copyright": "",
"deb": {
"depends": []
},
"externalBin": [],
"identifier": "com.tw93.weRead",
"identifier": "com.tw93.flomo",
"longDescription": "",
"macOS": {
"entitlements": null,
Expand Down Expand Up @@ -51,7 +51,7 @@
"fullscreen": false,
"height": 728,
"resizable": true,
"title": "WeRead",
"title": "Flomo",
"width": 1200
}
]
Expand Down

0 comments on commit 114d91f

Please sign in to comment.