update pake-cli document
This commit is contained in:
16
bin/README.md
vendored
16
bin/README.md
vendored
@@ -132,14 +132,6 @@ url 为你需要打包的网页链接 🔗,必须提供。
|
|||||||
|
|
||||||
打包结果同时支持英特尔和 m1 芯片,仅适用于 MacOS,默认为 `false`。
|
打包结果同时支持英特尔和 m1 芯片,仅适用于 MacOS,默认为 `false`。
|
||||||
|
|
||||||
#### [targets]
|
|
||||||
|
|
||||||
选择输出的包格式,支持deb/appimage/all,如果选择all,则同时打包deb和appimage,该选项仅支持Linux,默认为`all`。
|
|
||||||
|
|
||||||
```shell
|
|
||||||
--targets xxx
|
|
||||||
```
|
|
||||||
|
|
||||||
##### 准备工作
|
##### 准备工作
|
||||||
|
|
||||||
- 注意:开启该选项后,需要用 rust 官网的 rustup 安装 rust,不支持 brew 安装。
|
- 注意:开启该选项后,需要用 rust 官网的 rustup 安装 rust,不支持 brew 安装。
|
||||||
@@ -162,3 +154,11 @@ rustup target add x86_64-apple-darwin
|
|||||||
# 或者
|
# 或者
|
||||||
-m
|
-m
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### [targets]
|
||||||
|
|
||||||
|
选择输出的包格式,支持deb/appimage/all,如果选择all,则同时打包deb和appimage,该选项仅支持Linux,默认为`all`。
|
||||||
|
|
||||||
|
```shell
|
||||||
|
--targets xxx
|
||||||
|
```
|
||||||
|
|||||||
8
bin/README_EN.md
vendored
8
bin/README_EN.md
vendored
@@ -134,10 +134,6 @@ Use the command below to disable this feature.
|
|||||||
|
|
||||||
Package results support both Intel and m1 chips, only for MacOS. The default is `false`.
|
Package results support both Intel and m1 chips, only for MacOS. The default is `false`.
|
||||||
|
|
||||||
#### [targets]
|
|
||||||
|
|
||||||
Select the output package format, support deb/appimage/all, if all is selected, deb and appimage will be packaged at the same time, this option only supports Linux, the default is `all`.
|
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
--targets xxx
|
--targets xxx
|
||||||
```
|
```
|
||||||
@@ -164,3 +160,7 @@ rustup target add x86_64-apple-darwin
|
|||||||
# or
|
# or
|
||||||
-m
|
-m
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### [targets]
|
||||||
|
|
||||||
|
Select the output package format, support deb/appimage/all, if all is selected, deb and appimage will be packaged at the same time, this option only supports Linux, the default is `all`.
|
||||||
|
|||||||
59
dist/cli.js
vendored
59
dist/cli.js
vendored
@@ -1837,8 +1837,8 @@ function checkRustInstalled() {
|
|||||||
var tauri$3 = {
|
var tauri$3 = {
|
||||||
windows: [
|
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,
|
||||||
@@ -1850,46 +1850,21 @@ var tauri$3 = {
|
|||||||
},
|
},
|
||||||
updater: {
|
updater: {
|
||||||
active: false
|
active: false
|
||||||
},
|
|
||||||
bundle: {
|
|
||||||
icon: [
|
|
||||||
"/home/tlntin/data/code/rust_study/pake-tw93/Pake/src-tauri/png/icon_512.png"
|
|
||||||
],
|
|
||||||
identifier: "pake-f9751d",
|
|
||||||
active: true,
|
|
||||||
category: "DeveloperTool",
|
|
||||||
copyright: "",
|
|
||||||
deb: {
|
|
||||||
depends: [
|
|
||||||
"libwebkit2gtk-4.0-dev",
|
|
||||||
"build-essential",
|
|
||||||
"curl",
|
|
||||||
"wget",
|
|
||||||
"libssl-dev",
|
|
||||||
"libgtk-3-dev",
|
|
||||||
"libayatana-appindicator3-dev",
|
|
||||||
"librsvg2-dev",
|
|
||||||
"gnome-video-effects",
|
|
||||||
"gnome-video-effects-extra"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
externalBin: [
|
|
||||||
],
|
|
||||||
longDescription: "",
|
|
||||||
resources: [
|
|
||||||
],
|
|
||||||
shortDescription: "",
|
|
||||||
targets: [
|
|
||||||
"deb"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
var build = {
|
||||||
|
devPath: "../dist",
|
||||||
|
distDir: "../dist",
|
||||||
|
beforeBuildCommand: "",
|
||||||
|
beforeDevCommand: ""
|
||||||
|
};
|
||||||
var CommonConf = {
|
var CommonConf = {
|
||||||
"package": {
|
"package": {
|
||||||
productName: "baidu",
|
productName: "WeRead",
|
||||||
version: "1.0.0"
|
version: "1.0.0"
|
||||||
},
|
},
|
||||||
tauri: tauri$3
|
tauri: tauri$3,
|
||||||
|
build: build
|
||||||
};
|
};
|
||||||
|
|
||||||
var tauri$2 = {
|
var tauri$2 = {
|
||||||
@@ -1964,9 +1939,9 @@ var MacConf = {
|
|||||||
var tauri = {
|
var tauri = {
|
||||||
bundle: {
|
bundle: {
|
||||||
icon: [
|
icon: [
|
||||||
"/home/tlntin/data/code/rust_study/pake-tw93/Pake/src-tauri/png/icon_512.png"
|
"png/weread_512.png"
|
||||||
],
|
],
|
||||||
identifier: "pake-f9751d",
|
identifier: "com.tw93.weread",
|
||||||
active: true,
|
active: true,
|
||||||
category: "DeveloperTool",
|
category: "DeveloperTool",
|
||||||
copyright: "",
|
copyright: "",
|
||||||
@@ -1982,7 +1957,10 @@ var tauri = {
|
|||||||
"librsvg2-dev",
|
"librsvg2-dev",
|
||||||
"gnome-video-effects",
|
"gnome-video-effects",
|
||||||
"gnome-video-effects-extra"
|
"gnome-video-effects-extra"
|
||||||
]
|
],
|
||||||
|
files: {
|
||||||
|
"/usr/share/applications/com-tw93-weread.desktop": "assets/com-tw93-weread.desktop"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
externalBin: [
|
externalBin: [
|
||||||
],
|
],
|
||||||
@@ -1991,7 +1969,8 @@ var tauri = {
|
|||||||
],
|
],
|
||||||
shortDescription: "",
|
shortDescription: "",
|
||||||
targets: [
|
targets: [
|
||||||
"deb"
|
"deb",
|
||||||
|
"appimage"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user