🐛 支持flomo
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
# Pake
|
# Pake
|
||||||
|
|
||||||
> 用 Rust 来打包你的 App,底层使用 Tauri,当前支持微信读书,有更多想法,欢迎提 Issue。
|
> 用 Rust 来打包你的 App,底层使用 Tauri,当前支持微信读书、Flomo,有更多想法,欢迎提 Issue。
|
||||||
|
|
||||||
## 下载地址
|
## 下载地址
|
||||||
|
|
||||||
@@ -8,8 +8,14 @@
|
|||||||
|
|
||||||
## 展示效果
|
## 展示效果
|
||||||
|
|
||||||
|
### 微信读书
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
### Flomo
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
## 开发步骤
|
## 开发步骤
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
|
|||||||
BIN
src-tauri/icons/flomo.icns
Normal file
BIN
src-tauri/icons/flomo.icns
Normal file
Binary file not shown.
@@ -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)
|
||||||
|
|||||||
@@ -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
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user