feat: add custom download URL for manual update method
- Add custom_download_url field to Version model - Show custom download URL input when update method is 'manual' - Use platform default URL if custom URL is not set - Add i18n translations for new field Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -229,7 +229,8 @@ type Version struct {
|
||||
EntryFile string `gorm:"size:255" json:"entry_file"`
|
||||
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"`
|
||||
UpdateMethod string `gorm:"size:20;default:auto" json:"update_method"`
|
||||
CustomDownloadURL string `gorm:"size:500" json:"custom_download_url"`
|
||||
Description string `gorm:"type:text" json:"description"`
|
||||
Changelog string `gorm:"type:text" json:"changelog"`
|
||||
Status string `gorm:"size:20;default:active" json:"status"`
|
||||
|
||||
Reference in New Issue
Block a user