chore: rename app to 自动化工具 and exe/release to CMBot
Functional/build-level rename only: - version.py APP_NAME -> 自动化工具 (window title) - build.ps1 exe/release name AutoPrint -> CMBot - docs packaging/structure examples AutoPrint -> CMBot Descriptive product name in narrative docs is left unchanged. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
+2
-2
@@ -288,8 +288,8 @@
|
||||
建议本地目录结构:
|
||||
|
||||
```text
|
||||
AutoPrint/
|
||||
AutoPrint.exe
|
||||
CMBot/
|
||||
CMBot.exe
|
||||
config/
|
||||
app_config.json
|
||||
templates.json
|
||||
|
||||
@@ -64,8 +64,8 @@ pyinstaller --onedir --windowed src/main.py
|
||||
推荐打包后的发布目录:
|
||||
|
||||
```text
|
||||
AutoPrint/
|
||||
AutoPrint.exe
|
||||
CMBot/
|
||||
CMBot.exe
|
||||
_internal/
|
||||
config/
|
||||
app_config.json
|
||||
@@ -80,7 +80,7 @@ AutoPrint/
|
||||
|
||||
说明:
|
||||
|
||||
- `AutoPrint.exe`:主程序入口。
|
||||
- `CMBot.exe`:主程序入口。
|
||||
- `_internal/`:PyInstaller 依赖目录。
|
||||
- `config/`:默认配置和模板配置。
|
||||
- `resources/`:图标、样式等资源。
|
||||
@@ -141,7 +141,7 @@ get_output_dir()
|
||||
pyinstaller ^
|
||||
--onedir ^
|
||||
--windowed ^
|
||||
--name AutoPrint ^
|
||||
--name CMBot ^
|
||||
--add-data "resources;resources" ^
|
||||
--add-data "config;config" ^
|
||||
src/main.py
|
||||
@@ -179,7 +179,7 @@ APP_VERSION = "1.0.0"
|
||||
发布目录建议带版本号:
|
||||
|
||||
```text
|
||||
AutoPrint-1.0.0/
|
||||
CMBot-1.0.0/
|
||||
```
|
||||
|
||||
## 10. 打包前检查
|
||||
@@ -206,7 +206,7 @@ python src/main.py
|
||||
|
||||
打包后必须验证:
|
||||
|
||||
- 双击 `AutoPrint.exe` 可以启动。
|
||||
- 双击 `CMBot.exe` 可以启动。
|
||||
- 标题栏显示正确版本号。
|
||||
- 可以打开衣服图片文件夹。
|
||||
- 可以打开印花图片文件夹。
|
||||
@@ -223,14 +223,14 @@ python src/main.py
|
||||
第一阶段发布产物建议为压缩包:
|
||||
|
||||
```text
|
||||
AutoPrint-1.0.0.zip
|
||||
CMBot-1.0.0.zip
|
||||
```
|
||||
|
||||
压缩包内包含:
|
||||
|
||||
```text
|
||||
AutoPrint-1.0.0/
|
||||
AutoPrint.exe
|
||||
CMBot-1.0.0/
|
||||
CMBot.exe
|
||||
_internal/
|
||||
config/
|
||||
resources/
|
||||
|
||||
+1
-1
@@ -12,7 +12,7 @@ $DefaultConfigDir = Join-Path $RootDir "packaging\default_config"
|
||||
$BuildDir = Join-Path $RootDir "build"
|
||||
$DistDir = Join-Path $RootDir "dist"
|
||||
$ReleaseRoot = Join-Path $RootDir "release"
|
||||
$AppExeName = "AutoPrint"
|
||||
$AppExeName = "CMBot"
|
||||
|
||||
function Read-VersionValue {
|
||||
param(
|
||||
|
||||
+1
-1
@@ -1,2 +1,2 @@
|
||||
APP_NAME = "自动合成印花服饰效果图工具"
|
||||
APP_NAME = "自动化工具"
|
||||
APP_VERSION = "1.0.0"
|
||||
|
||||
Reference in New Issue
Block a user