modify: 启动转为 console

This commit is contained in:
yuejiajun 2025-08-18 17:59:15 +08:00
parent a24a977dec
commit 6a71e9188f

View File

@ -2,7 +2,7 @@
; 构建时间1.0.20 => 2025-8-18 17:29:09 ; 构建时间1.0.20 => 2025-8-18 17:29:09
#define MyAppName "模型管理" #define MyAppName "模型管理"
#define MyAppVersion "1.0.20" #define MyAppVersion "1.0.21"
#define MyAppPublisher "X" #define MyAppPublisher "X"
#define MyAppURL "~" #define MyAppURL "~"
#define MyAppExeName "model" #define MyAppExeName "model"
@ -75,8 +75,9 @@ Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{
;; 程序 ICO ;; 程序 ICO
[Icons] [Icons]
Name: "{autoprograms}\{#MyAppFirstPath}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}\{#MyAppExeName}.exe" ; ====================== ========================================================= 此处使用 console 显式console启动
Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}\{#MyAppExeName}.exe"; Tasks: desktopicon Name: "{autoprograms}\{#MyAppFirstPath}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}\{#MyAppExeName}-console.exe"
Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}\{#MyAppExeName}-console.exe"; Tasks: desktopicon