Skip to content

Commit bf19bb1

Browse files
committed
🔖 2.1.5
1 parent b8107da commit bf19bb1

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

dist/cli.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import isUrl from 'is-url';
2020
import fs from 'fs';
2121

2222
var name = "pake-cli";
23-
var version = "2.1.4";
23+
var version = "2.1.5";
2424
var description = "🤱🏻 Turn any webpage into a desktop app with Rust. 🤱🏻 很简单的用 Rust 打包网页生成很小的桌面 App。";
2525
var engines = {
2626
node: ">=16.0.0"
@@ -342,7 +342,7 @@ function capitalizeFirstLetter(string) {
342342
}
343343
function getSpinner(text) {
344344
const loadingType = {
345-
"interval": 100,
345+
"interval": 80,
346346
"frames": [
347347
"✦",
348348
"✶",
@@ -896,8 +896,8 @@ async function handleOptions(options, url) {
896896
name = namePrompt || defaultName;
897897
}
898898
if (!isValidName(name, platform)) {
899-
const LINUX_NAME_ERROR = `✕ Package name is invalid. It should only include lowercase letters, numbers, and dashes, and must contain at least one lowercase letter. Examples: com-123-xxx, 123pan, pan123, weread, we-read.`;
900-
const DEFAULT_NAME_ERROR = `✕ Package name is invalid. It should only include letters and numbers, and must contain at least one letter. Examples: 123pan, 123Pan, Pan123, weread, WeRead, WERead.`;
899+
const LINUX_NAME_ERROR = `✕ name should only include lowercase letters, numbers, and dashes, and must contain at least one lowercase letter. Examples: com-123-xxx, 123pan, pan123, weread, we-read.`;
900+
const DEFAULT_NAME_ERROR = `✕ Name should only include letters and numbers, and must contain at least one letter. Examples: 123pan, 123Pan, Pan123, weread, WeRead, WERead.`;
901901
const errorMsg = platform === 'linux' ? LINUX_NAME_ERROR : DEFAULT_NAME_ERROR;
902902
logger.error(errorMsg);
903903
if (isActions) {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pake-cli",
3-
"version": "2.1.4",
3+
"version": "2.1.5",
44
"description": "🤱🏻 Turn any webpage into a desktop app with Rust. 🤱🏻 很简单的用 Rust 打包网页生成很小的桌面 App。",
55
"engines": {
66
"node": ">=16.0.0"

0 commit comments

Comments
 (0)