🔖 2.0.0-alpha

This commit is contained in:
Tw93
2023-04-18 16:26:01 +08:00
parent 50cc5e63c2
commit fdadfdf6bf
4 changed files with 10 additions and 14 deletions

2
bin/README.md vendored
View File

@@ -155,4 +155,4 @@ rustup target add x86_64-apple-darwin
```shell ```shell
--targets xxx --targets xxx
``` ```

4
bin/README_EN.md vendored
View File

@@ -104,8 +104,6 @@ Whether to enable the immersive header. The default is `false`. Use the command
```shell ```shell
--transparent --transparent
# or
-t
``` ```
#### [fullscreen] #### [fullscreen]
@@ -115,8 +113,6 @@ Use the command below to enable this feature.
```shell ```shell
--fullscreen --fullscreen
# or
-f
``` ```
#### [resize] #### [resize]

16
dist/cli.js vendored
View File

@@ -2090,7 +2090,7 @@ var tauri$3 = {
active: false active: false
}, },
systemTray: { systemTray: {
iconPath: "png/icon_512.png", iconPath: "png/weread_512.png",
iconAsTemplate: true iconAsTemplate: true
}, },
allowlist: { allowlist: {
@@ -2106,7 +2106,7 @@ var build = {
}; };
var CommonConf = { var CommonConf = {
"package": { "package": {
productName: "baidu", productName: "WeRead",
version: "1.0.0" version: "1.0.0"
}, },
tauri: tauri$3, tauri: tauri$3,
@@ -2115,8 +2115,8 @@ var CommonConf = {
var windows = [ var windows = [
{ {
url: "https://www.baidu.com", url: "https://weread.qq.com/",
transparent: false, transparent: true,
fullscreen: false, fullscreen: false,
width: 1200, width: 1200,
height: 780, 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" 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 = { var menu = {
macos: false, macos: true,
linux: false, linux: false,
windows: false windows: false
}; };
@@ -2186,9 +2186,9 @@ var WinConf = {
var tauri$1 = { var tauri$1 = {
bundle: { bundle: {
icon: [ icon: [
"/Users/hfy/Documents/electron_s/Pake/src-tauri/icons/icon.icns" "icons/weread.icns"
], ],
identifier: "pake-f9751d", identifier: "com.tw93.weread",
active: true, active: true,
category: "DeveloperTool", category: "DeveloperTool",
copyright: "", copyright: "",
@@ -2493,7 +2493,7 @@ class BuilderFactory {
} }
var name = "pake-cli"; 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 description = "🤱🏻 Turn any webpage into a desktop app with Rust. 🤱🏻 很简单的用 Rust 打包网页生成很小的桌面 App。";
var engines = { var engines = {
node: ">=16.0.0" node: ">=16.0.0"

View File

@@ -1,6 +1,6 @@
{ {
"name": "pake-cli", "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。", "description": "🤱🏻 Turn any webpage into a desktop app with Rust. 🤱🏻 很简单的用 Rust 打包网页生成很小的桌面 App。",
"engines": { "engines": {
"node": ">=16.0.0" "node": ">=16.0.0"