@shiju-ai/shiju-webview 0.5.17 → 0.5.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -0
- package/npm-shrinkwrap.json +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -162,10 +162,20 @@ bash scripts/bundle_windows.sh
|
|
|
162
162
|
|
|
163
163
|
Linux 打包:
|
|
164
164
|
|
|
165
|
+
请在 Linux 构建环境中运行,并准备 GTK 3、WebKitGTK 4.1 等开发库及所需的
|
|
166
|
+
`dpkg-deb` / `rpmbuild` 打包工具。默认目标为 x86_64;ARM64 Linux 使用
|
|
167
|
+
`TARGET=aarch64-unknown-linux-gnu`。首次构建需为当前 Rust 工具链安装对应目标:
|
|
168
|
+
|
|
165
169
|
```bash
|
|
170
|
+
rustup target add x86_64-unknown-linux-gnu
|
|
166
171
|
bash scripts/bundle_linux.sh
|
|
167
172
|
```
|
|
168
173
|
|
|
174
|
+
在 macOS 上仅安装 Linux Rust 目标不足以完成桌面应用交叉编译;请使用 Linux
|
|
175
|
+
虚拟机、容器或 Linux CI。macOS 应用使用上面的 `bundle_macos.sh`。
|
|
176
|
+
缺少待打包二进制时,脚本会在非 Linux 宿主上提前报错,避免进入缺少
|
|
177
|
+
`x86_64-linux-gnu-gcc` 或目标系统库的构建流程。
|
|
178
|
+
|
|
169
179
|
CLI 多平台构建脚本示例:
|
|
170
180
|
|
|
171
181
|
```bash
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"hasInstallScript": true,
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"name": "@shiju-ai/shiju-webview",
|
|
26
|
-
"version": "0.5.
|
|
26
|
+
"version": "0.5.19"
|
|
27
27
|
},
|
|
28
28
|
"node_modules/@isaacs/balanced-match": {
|
|
29
29
|
"engines": {
|
|
@@ -896,5 +896,5 @@
|
|
|
896
896
|
}
|
|
897
897
|
},
|
|
898
898
|
"requires": true,
|
|
899
|
-
"version": "0.5.
|
|
899
|
+
"version": "0.5.19"
|
|
900
900
|
}
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"artifactDownloadUrl": "https://github.com/hunzhiwange/shiju/releases/download/v0.5.
|
|
2
|
+
"artifactDownloadUrl": "https://github.com/hunzhiwange/shiju/releases/download/v0.5.19",
|
|
3
3
|
"bin": {
|
|
4
4
|
"vw-webview": "run-vw-webview.js"
|
|
5
5
|
},
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
"zipExt": ".tar.gz"
|
|
91
91
|
}
|
|
92
92
|
},
|
|
93
|
-
"version": "0.5.
|
|
93
|
+
"version": "0.5.19",
|
|
94
94
|
"volta": {
|
|
95
95
|
"node": "18.14.1",
|
|
96
96
|
"npm": "9.5.0"
|