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