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

@@ -184,7 +184,7 @@ export async function update_project(path: string, projectPath: string): Promise
// Add a project to a profile from a version
// Returns a path to the new project file
export type DownloadReason = 'standalone' | 'dependency' | 'modpack'
export type DownloadReason = 'standalone' | 'dependency' | 'modpack' | 'update'
export async function add_project_from_version(
path: string,