Comparing version 2.2.0 to 2.2.1
@@ -23,3 +23,3 @@ import chalk from 'chalk'; | ||
var name = "pake-cli"; | ||
var version = "2.2.0"; | ||
var version = "2.2.1"; | ||
var description = "🤱🏻 Turn any webpage into a desktop app with Rust. 🤱🏻 很简单的用 Rust 打包网页生成很小的桌面 App。"; | ||
@@ -440,4 +440,5 @@ var engines = { | ||
async function installRust() { | ||
const isActions = process.env.GITHUB_ACTIONS; | ||
const isInChina = await isChinaDomain('sh.rustup.rs'); | ||
const rustInstallScriptForMac = isInChina | ||
const rustInstallScriptForMac = isInChina && !isActions | ||
? 'export RUSTUP_DIST_SERVER="https://rsproxy.cn" && export RUSTUP_UPDATE_ROOT="https://rsproxy.cn/rustup" && curl --proto "=https" --tlsv1.2 -sSf https://rsproxy.cn/rustup-init.sh | sh' | ||
@@ -444,0 +445,0 @@ : "curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y"; |
{ | ||
"name": "pake-cli", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"description": "🤱🏻 Turn any webpage into a desktop app with Rust. 🤱🏻 很简单的用 Rust 打包网页生成很小的桌面 App。", | ||
@@ -5,0 +5,0 @@ "engines": { |
@@ -110,3 +110,3 @@ <h4 align="right"><strong>English</strong> | <a href="https://github.com/tw93/Pake/blob/master/README_CN.md">简体中文</a></h4> | ||
<td><img src=https://cdn.fliggy.com/upic/i2eg6G.png width=600/></td> | ||
<td><img src=https://cdn.fliggy.com/upic/fS1lVi.jpg width=600/></td> | ||
<td><img src=https://cdn.fliggy.com/upic/mUzOek.jpg width=600/></td> | ||
</tr> | ||
@@ -113,0 +113,0 @@ <tr> |
@@ -11,5 +11,3 @@ { | ||
"depends": ["curl", "wget"], | ||
"files": { | ||
"/usr/share/applications/com-pake-weread.desktop": "assets/com-pake-weread.desktop" | ||
} | ||
"files": {"/usr/share/applications/com-pake-weread.desktop": "assets/com-pake-weread.desktop"} | ||
}, | ||
@@ -16,0 +14,0 @@ "externalBin": [], |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12403863
3628
11