🎨 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

View File

@@ -1,6 +1,6 @@
MIT License
Copyright (c) 2022 Tw93
Copyright (c) 2023 Tw93
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

View File

@@ -159,7 +159,7 @@ In addition, double-click the title bar to switch to full-screen mode. For Mac u
![Pake](https://gw.alipayobjects.com/zos/k/zd/pake.gif)
**Pake provides a command line tool, making the flow of package customization quicker and easier. See [documentation](./bin/README_CN.md) for more information.**
**Pake provides a command line tool, making the flow of package customization quicker and easier. See [documentation](./bin/README.md) for more information.**
```bash
# Install with npm

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