refactor: remove default_install_dir, Update uses built-in default path

This commit is contained in:
Trae AI
2026-06-18 22:09:18 +08:00
parent a0c817571a
commit f77cb0cb05
5 changed files with 1 additions and 60 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数组,需要创建桌面快捷方式的文件
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"`
UpdateMethod string `gorm:"size:20;default:auto" json:"update_method"`