feat: file list shows full package files, desktop shortcut per-file setting

This commit is contained in:
Trae AI
2026-06-18 18:59:50 +08:00
parent 77a2dd468f
commit 2751b24e18
6 changed files with 271 additions and 171 deletions
+2 -2
View File
@@ -227,8 +227,8 @@ type Version struct {
FileSize int64 `json:"file_size"`
FileHash string `gorm:"size:64" json:"file_hash"`
EntryFile string `gorm:"size:255" json:"entry_file"`
EntryFiles string `gorm:"type:text" json:"entry_files"` // JSON数组,入口文件
CreateDesktopShortcut bool `gorm:"default:false" json:"create_desktop_shortcut"` // 是否创建桌面快捷方式
EntryFiles string `gorm:"type:text" json:"entry_files"` // JSON数组,可启动的入口文件
DesktopShortcutFiles string `gorm:"type:text" json:"desktop_shortcut_files"` // JSON数组,需要创建桌面快捷方式的文件
CreateStartMenu bool `gorm:"default:false" json:"create_start_menu"` // 是否创建开始菜单
AutoRun bool `gorm:"default:false" json:"auto_run"` // 是否自动运行
DefaultInstallDir string `gorm:"size:500" json:"default_install_dir"` // 默认安装目录