Merge remote-tracking branch 'origin/master' into dev

This commit is contained in:
jeasonnow
2023-07-04 16:31:59 +08:00
17 changed files with 82 additions and 77 deletions

2
bin/utils/info.ts vendored
View File

@@ -6,7 +6,7 @@ import chalk from 'chalk';
// Generates an identifier based on the given URL.
export function getIdentifier(url: string) {
const postFixHash = crypto.createHash('md5').update(url).digest('hex').substring(0, 6);
return `pake-${postFixHash}`;
return `com.pake.${postFixHash}`;
}
export async function promptText(message: string, initial?: string): Promise<string> {