Add update download reason to analytics (#6023)

* Add  download reason to analytics

* mark modpack updates as actual updates in analytics

* fmt
This commit is contained in:
aecsocket
2026-05-07 14:07:20 +01:00
committed by GitHub
parent 56dae8f104
commit e8dc3c3150
10 changed files with 30 additions and 14 deletions

View File

@@ -54,6 +54,8 @@ pub enum DownloadReason {
Dependency,
/// Project was downloaded as part of a modpack.
Modpack,
/// Project was re-downloaded due to an update.
Update,
}
impl std::str::FromStr for DownloadReason {