🐛 Fix name compatibility

This commit is contained in:
Tw93
2025-08-13 19:40:00 +08:00
parent 72652d814f
commit 09a122dd6b
5 changed files with 17 additions and 14 deletions

6
bin/README_CN.md vendored
View File

@@ -61,16 +61,16 @@ pake [url] [options]
指定应用程序的名称,如果未指定,系统会提示您输入,建议使用英文单词。
**注意**: 支持多个单词,会自动处理不同平台的命名规范:
**注意**: 支持带空格的名称,会自动处理不同平台的命名规范:
- **Windows/macOS**: 保持空格和大小写(如 `"Google Translate"`
- **Linux**: 转换为小写并用连字符连接(如 `"google-translate"`
- **Linux**: 自动转换为小写并用连字符连接(如 `"google-translate"`
```shell
--name <string>
--name MyApp
# 多个单词(如需要):
# 带空格的名称:
--name "Google Translate"
```