🐛 remove mac name regex
This commit is contained in:
2
bin/builders/common.ts
vendored
2
bin/builders/common.ts
vendored
@@ -47,7 +47,7 @@ export async function mergeTauriConfig(
|
|||||||
process.exit();
|
process.exit();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (process.platform === "win32" || process.platform === "darwin" ) {
|
if (process.platform === "win32") {
|
||||||
const reg = new RegExp(/([0-9]*[a-zA-Z]+[0-9]*)+/);
|
const reg = new RegExp(/([0-9]*[a-zA-Z]+[0-9]*)+/);
|
||||||
if (!reg.test(name) || reg.exec(name)[0].length != name.length) {
|
if (!reg.test(name) || reg.exec(name)[0].length != name.length) {
|
||||||
logger.error("package name is illegal, it must be letters, numbers, and it must contain the letters")
|
logger.error("package name is illegal, it must be letters, numbers, and it must contain the letters")
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "pake-cli",
|
"name": "pake-cli",
|
||||||
"version": "1.2.1",
|
"version": "1.2.2",
|
||||||
"description": "🤱🏻 很简单的用 Rust 打包网页生成很小的桌面 App 🤱🏻 A simple way to make any web page a desktop application using Rust.",
|
"description": "🤱🏻 很简单的用 Rust 打包网页生成很小的桌面 App 🤱🏻 A simple way to make any web page a desktop application using Rust.",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=16.0.0"
|
"node": ">=16.0.0"
|
||||||
|
|||||||
Reference in New Issue
Block a user