From fdadfdf6bfbe02854844f965dd2d29bcef871fbd Mon Sep 17 00:00:00 2001 From: Tw93 Date: Tue, 18 Apr 2023 16:26:01 +0800 Subject: [PATCH] :bookmark: 2.0.0-alpha --- bin/README.md | 2 +- bin/README_EN.md | 4 ---- dist/cli.js | 16 ++++++++-------- package.json | 2 +- 4 files changed, 10 insertions(+), 14 deletions(-) diff --git a/bin/README.md b/bin/README.md index a8a6ecc..2e27ab5 100644 --- a/bin/README.md +++ b/bin/README.md @@ -155,4 +155,4 @@ rustup target add x86_64-apple-darwin ```shell --targets xxx -``` \ No newline at end of file +``` diff --git a/bin/README_EN.md b/bin/README_EN.md index b0e4859..fa652f4 100644 --- a/bin/README_EN.md +++ b/bin/README_EN.md @@ -104,8 +104,6 @@ Whether to enable the immersive header. The default is `false`. Use the command ```shell --transparent -# or --t ``` #### [fullscreen] @@ -115,8 +113,6 @@ Use the command below to enable this feature. ```shell --fullscreen -# or --f ``` #### [resize] diff --git a/dist/cli.js b/dist/cli.js index 08c7589..ca6534c 100644 --- a/dist/cli.js +++ b/dist/cli.js @@ -2090,7 +2090,7 @@ var tauri$3 = { active: false }, systemTray: { - iconPath: "png/icon_512.png", + iconPath: "png/weread_512.png", iconAsTemplate: true }, allowlist: { @@ -2106,7 +2106,7 @@ var build = { }; var CommonConf = { "package": { - productName: "baidu", + productName: "WeRead", version: "1.0.0" }, tauri: tauri$3, @@ -2115,8 +2115,8 @@ var CommonConf = { var windows = [ { - url: "https://www.baidu.com", - transparent: false, + url: "https://weread.qq.com/", + transparent: true, fullscreen: false, width: 1200, height: 780, @@ -2130,7 +2130,7 @@ var user_agent = { windows: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36" }; var menu = { - macos: false, + macos: true, linux: false, windows: false }; @@ -2186,9 +2186,9 @@ var WinConf = { var tauri$1 = { bundle: { icon: [ - "/Users/hfy/Documents/electron_s/Pake/src-tauri/icons/icon.icns" + "icons/weread.icns" ], - identifier: "pake-f9751d", + identifier: "com.tw93.weread", active: true, category: "DeveloperTool", copyright: "", @@ -2493,7 +2493,7 @@ class BuilderFactory { } var name = "pake-cli"; -var version = "2.0.0-alpha5"; +var version = "2.0.0-alpha6"; var description = "๐Ÿคฑ๐Ÿป Turn any webpage into a desktop app with Rust. ๐Ÿคฑ๐Ÿป ๅพˆ็ฎ€ๅ•็š„็”จ Rust ๆ‰“ๅŒ…็ฝ‘้กต็”Ÿๆˆๅพˆๅฐ็š„ๆกŒ้ข Appใ€‚"; var engines = { node: ">=16.0.0" diff --git a/package.json b/package.json index 9218ac6..bec5c05 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pake-cli", - "version": "2.0.0-alpha5", + "version": "2.0.0-alpha6", "description": "๐Ÿคฑ๐Ÿป Turn any webpage into a desktop app with Rust. ๐Ÿคฑ๐Ÿป ๅพˆ็ฎ€ๅ•็š„็”จ Rust ๆ‰“ๅŒ…็ฝ‘้กต็”Ÿๆˆๅพˆๅฐ็š„ๆกŒ้ข Appใ€‚", "engines": { "node": ">=16.0.0"