🎨 Correct document format

This commit is contained in:
Tw93
2023-06-28 15:28:56 +08:00
parent 3b2f553f07
commit 481537624d
5 changed files with 6 additions and 7 deletions

3
bin/README_CN.md vendored
View File

@@ -11,8 +11,7 @@ npm install pake-cli -g
## Windows/Linux 注意事项
- **非常重要**:请参阅 Tauri 的 [依赖项指南](https://tauri.app/v1/guides/getting-started/prerequisites)。
- 对于 Windows 用户,请确保至少安装了 `Win10 SDK(10.0.19041.0)``Visual Studio Build Tools 2022版本 17.2 或更高)`
。此外,还需要安装以下组件:
- 对于 Windows 用户,请确保至少安装了 `Win10 SDK(10.0.19041.0)``Visual Studio Build Tools 2022版本 17.2 或更高)`,此外还需要安装以下组件:
1. Microsoft Visual C++ 2015-2022 Redistributable (x64)
2. Microsoft Visual C++ 2015-2022 Redistributable (x86)

View File

@@ -27,8 +27,8 @@ export default abstract class BaseBuilder {
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()) {

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> {