🐛 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();
|
||||
}
|
||||
}
|
||||
if (process.platform === "win32" || process.platform === "darwin" ) {
|
||||
if (process.platform === "win32") {
|
||||
const reg = new RegExp(/([0-9]*[a-zA-Z]+[0-9]*)+/);
|
||||
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")
|
||||
|
||||
Reference in New Issue
Block a user