refactor: remove auto_run, add default install dir value

This commit is contained in:
Trae AI
2026-06-18 19:43:19 +08:00
parent 6db476549e
commit 8d5d8b1461
5 changed files with 20 additions and 28 deletions
-1
View File
@@ -229,7 +229,6 @@ type Version struct {
EntryFile string `gorm:"size:255" json:"entry_file"`
EntryFiles string `gorm:"type:text" json:"entry_files"` // JSON数组,可启动的入口文件
DesktopShortcutFiles string `gorm:"type:text" json:"desktop_shortcut_files"` // JSON数组,需要创建桌面快捷方式的文件
AutoRun bool `gorm:"default:false" json:"auto_run"` // 是否自动运行
DefaultInstallDir string `gorm:"size:500" json:"default_install_dir"` // 默认安装目录
UpdateStrategy string `gorm:"size:20;default:optional" json:"update_strategy"`
UpdateType string `gorm:"size:20;default:full" json:"update_type"`