🔖 CLI 2.1.9

This commit is contained in:
Tw93
2023-06-28 15:29:49 +08:00
parent 481537624d
commit d99c146877
2 changed files with 9 additions and 9 deletions

16
dist/cli.js vendored
View File

@@ -20,7 +20,7 @@ import isUrl from 'is-url';
import fs from 'fs';
var name = "pake-cli";
var version = "2.1.8";
var version = "2.1.9";
var description = "🤱🏻 Turn any webpage into a desktop app with Rust. 🤱🏻 很简单的用 Rust 打包网页生成很小的桌面 App。";
var engines = {
node: ">=16.0.0"
@@ -205,7 +205,7 @@ var tauri$2 = {
"png/weread_256.ico",
"png/weread_32.ico"
],
identifier: "com.tw93.weread",
identifier: "com.pake.weread",
active: true,
category: "DeveloperTool",
copyright: "",
@@ -241,7 +241,7 @@ var tauri$1 = {
icon: [
"icons/weread.icns"
],
identifier: "com.tw93.weread",
identifier: "com.pake.weread",
active: true,
category: "DeveloperTool",
copyright: "",
@@ -273,7 +273,7 @@ var tauri = {
icon: [
"png/weread_512.png"
],
identifier: "com.tw93.weread",
identifier: "com.pake.weread",
active: true,
category: "DeveloperTool",
copyright: "",
@@ -283,7 +283,7 @@ var tauri = {
"wget"
],
files: {
"/usr/share/applications/com-tw93-weread.desktop": "assets/com-tw93-weread.desktop"
"/usr/share/applications/com-pake-weread.desktop": "assets/com-pake-weread.desktop"
}
},
externalBin: [
@@ -323,7 +323,7 @@ let tauriConfig = {
// Generates an identifier based on the given URL.
function getIdentifier(url) {
const postFixHash = crypto.createHash('md5').update(url).digest('hex').substring(0, 6);
return `pake-${postFixHash}`;
return `com.pake.${postFixHash}`;
}
async function promptText(message, initial) {
const response = await prompts({
@@ -617,8 +617,8 @@ class BaseBuilder {
const tauriTargetPath = path.join(tauriSrcPath, 'target');
const tauriTargetPathExists = await fsExtra.pathExists(tauriTargetPath);
if (!IS_MAC && !tauriTargetPathExists) {
logger.info(' The first use requires installing system dependencies.');
logger.info(' See more in https://tauri.app/v1/guides/getting-started/prerequisites.');
logger.warn(' The first use requires installing system dependencies.');
logger.warn(' See more in https://tauri.app/v1/guides/getting-started/prerequisites.');
}
if (!checkRustInstalled()) {
const res = await prompts({