Comparing version 1.2.6 to 1.2.7-beta
@@ -1575,3 +1575,3 @@ import * as Commander from 'commander'; | ||
else { | ||
throw new Error(`Your url "${urlWithProtocol}" is invalid`); | ||
throw new Error(`The URL "${urlWithProtocol}" you provided is invalid.`); | ||
} | ||
@@ -1583,3 +1583,3 @@ } | ||
if (isNaN(parsedValue)) { | ||
throw new Commander.InvalidArgumentError('Not a number.'); | ||
throw new Commander.InvalidArgumentError('The input cannot be a number.'); | ||
} | ||
@@ -1747,3 +1747,3 @@ return parsedValue; | ||
return __awaiter(this, void 0, void 0, function* () { | ||
logger.info('You have not provided an app icon, use the default icon.(use --icon option to assign an icon)'); | ||
logger.info('You haven\'t provided an app icon, so the default icon will be used. To assign a custom icon, please use the --icon option.'); | ||
let iconPath = 'src-tauri/icons/icon.icns'; | ||
@@ -1792,3 +1792,3 @@ if (IS_WIN) { | ||
if (!appOptions.name) { | ||
appOptions.name = yield promptText('please input your application name', getDomain(url)); | ||
appOptions.name = yield promptText('Please enter the name of your application.', getDomain(url)); | ||
} | ||
@@ -1824,3 +1824,3 @@ appOptions.identifier = getIdentifier(appOptions.name, url); | ||
catch (error) { | ||
console.error('install rust return code', error.message); | ||
console.error('Error codes that occur during the Rust installation process.', error.message); | ||
spinner.fail(); | ||
@@ -2178,3 +2178,3 @@ process.exit(1); | ||
var name = "pake-cli"; | ||
var version = "1.2.6"; | ||
var version = "1.2.7-beta"; | ||
var description = "🤱🏻 Turn any webpage into a desktop app with Rust. 🤱🏻 很简单的用 Rust 打包网页生成很小的桌面 App。"; | ||
@@ -2282,6 +2282,6 @@ var engines = { | ||
program.version(packageJson.version).description('A cli application can turn any webpage into a desktop app with Rust.'); | ||
program.version(packageJson.version).description('A command-line tool that can quickly convert a webpage into a desktop application.'); | ||
program | ||
.showHelpAfterError() | ||
.argument('[url]', 'the web url you want to package', validateUrlInput) | ||
.argument('[url]', 'the web URL you want to package', validateUrlInput) | ||
.option('-n, --name <string>', 'application name') | ||
@@ -2291,7 +2291,7 @@ .option('-i, --icon <string>', 'application icon', DEFAULT_PAKE_OPTIONS.icon) | ||
.option('-h, --height <number>', 'window height', validateNumberInput, DEFAULT_PAKE_OPTIONS.height) | ||
.option('-f, --fullscreen', 'makes the packaged app start in full screen', DEFAULT_PAKE_OPTIONS.fullscreen) | ||
.option('-f, --fullscreen', 'start in full screen mode', DEFAULT_PAKE_OPTIONS.fullscreen) | ||
.option('-t, --transparent', 'transparent title bar', DEFAULT_PAKE_OPTIONS.transparent) | ||
.option('-r, --no-resizable', 'whether the window can be resizable', DEFAULT_PAKE_OPTIONS.resizable) | ||
.option('-d, --debug', 'debug', DEFAULT_PAKE_OPTIONS.debug) | ||
.option('-m, --multi-arch', "Supports both Intel and m1 chips, only for Mac.", DEFAULT_PAKE_OPTIONS.multiArch) | ||
.option('-m, --multi-arch', "available for Mac only, and supports both Intel and M1", DEFAULT_PAKE_OPTIONS.multiArch) | ||
.action((url, options) => __awaiter(void 0, void 0, void 0, function* () { | ||
@@ -2298,0 +2298,0 @@ yield checkUpdateTips(); |
{ | ||
"name": "pake-cli", | ||
"version": "1.2.6", | ||
"version": "1.2.7-beta", | ||
"description": "🤱🏻 Turn any webpage into a desktop app with Rust. 🤱🏻 很简单的用 Rust 打包网页生成很小的桌面 App。", | ||
@@ -5,0 +5,0 @@ "engines": { |
@@ -54,6 +54,6 @@ <h4 align="right"><strong>English</strong> | <a href="https://github.com/tw93/Pake/blob/master/README_CN.md">简体中文</a></h4> | ||
</td> | ||
<td>YouTube | ||
<a href="https://github.com/tw93/Pake/releases/latest/download/YouTube.dmg">Mac</a> | ||
<a href="https://github.com/tw93/Pake/releases/latest/download/YouTube_x64.msi">Windows</a> | ||
<a href="https://github.com/tw93/Pake/releases/latest/download/YouTube_x86_64.deb">Linux</a> | ||
<td>ChatGPT | ||
<a href="https://github.com/tw93/Pake/releases/latest/download/ChatGPT.dmg">Mac</a> | ||
<a href="https://github.com/tw93/Pake/releases/latest/download/ChatGPT_x64.msi">Windows</a> | ||
<a href="https://github.com/tw93/Pake/releases/latest/download/ChatGPT_x86_64.deb">Linux</a> | ||
</td> | ||
@@ -63,9 +63,9 @@ </tr> | ||
<td><img src=https://cdn.fliggy.com/upic/DX3dfG.png width=600/></td> | ||
<td><img src=https://cdn.fliggy.com/upic/Ea5ZRw.png width=600/></td> | ||
<td><img src=https://cdn.fliggy.com/upic/iKGVZy.png width=600/></td> | ||
</tr> | ||
<tr> | ||
<td>Qwerty | ||
<a href="https://github.com/tw93/Pake/releases/latest/download/Qwerty.dmg">Mac</a> | ||
<a href="https://github.com/tw93/Pake/releases/latest/download/Qwerty_x64.msi">Windows</a> | ||
<a href="https://github.com/tw93/Pake/releases/latest/download/Qwerty_x86_64.deb">Linux</a> | ||
<td>YouTube | ||
<a href="https://github.com/tw93/Pake/releases/latest/download/YouTube.dmg">Mac</a> | ||
<a href="https://github.com/tw93/Pake/releases/latest/download/YouTube_x64.msi">Windows</a> | ||
<a href="https://github.com/tw93/Pake/releases/latest/download/YouTube_x86_64.deb">Linux</a> | ||
</td> | ||
@@ -79,3 +79,3 @@ <td>Reference | ||
<tr> | ||
<td><img src=https://cdn.fliggy.com/upic/CJjagn.jpg width=600/></td> | ||
<td><img src=https://cdn.fliggy.com/upic/Ea5ZRw.png width=600/></td> | ||
<td><img src=https://cdn.fliggy.com/upic/KFsZIY.png width=600/></td> | ||
@@ -89,6 +89,6 @@ </tr> | ||
</td> | ||
<td>ChatGPT | ||
<a href="https://github.com/tw93/Pake/releases/latest/download/ChatGPT.dmg">Mac</a> | ||
<a href="https://github.com/tw93/Pake/releases/latest/download/ChatGPT_x64.msi">Windows</a> | ||
<a href="https://github.com/tw93/Pake/releases/latest/download/ChatGPT_x86_64.deb">Linux</a> | ||
<td>Qwerty | ||
<a href="https://github.com/tw93/Pake/releases/latest/download/Qwerty.dmg">Mac</a> | ||
<a href="https://github.com/tw93/Pake/releases/latest/download/Qwerty_x64.msi">Windows</a> | ||
<a href="https://github.com/tw93/Pake/releases/latest/download/Qwerty_x86_64.deb">Linux</a> | ||
</td> | ||
@@ -98,3 +98,3 @@ </tr> | ||
<td><img src=https://gw.alipayobjects.com/zos/k/30/RoUSUf.png width=600/></td> | ||
<td><img src=https://cdn.fliggy.com/upic/sfnTXf.png width=600/></td> | ||
<td><img src=https://cdn.fliggy.com/upic/CJjagn.jpg width=600/></td> | ||
</tr> | ||
@@ -101,0 +101,0 @@ </table> |
@@ -68,12 +68,12 @@ /** | ||
#__next .overflow-hidden .flex.flex-1.flex-col { | ||
padding-left: 0; | ||
#__next .overflow-hidden>.hidden.bg-gray-900 span.rounded-md.bg-yellow-200 { | ||
display: none; | ||
} | ||
#__next .overflow-hidden>.hidden.bg-gray-900 { | ||
display: none; | ||
#__next .overflow-hidden>.hidden.bg-gray-900 .scrollbar-trigger{ | ||
padding-top: 20px; | ||
} | ||
#__next .overflow-hidden main .absolute .text-xs{ | ||
visibility: hidden; | ||
#__next .absolute .px-3.pt-2.pb-3.text-center { | ||
visibility: hidden; | ||
} | ||
@@ -80,0 +80,0 @@ |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
10848824
2