feat: 版本管理支持多入口文件、安装选项(桌面快捷方式/开始菜单/自动运行/默认安装目录)
This commit is contained in:
@@ -227,6 +227,11 @@ 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"` // 是否创建桌面快捷方式
|
||||
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"` // 默认安装目录
|
||||
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"`
|
||||
|
||||
Reference in New Issue
Block a user