Have app send download analytics meta (#5954)

* wip: add download reasons to app

* update how download meta is gathered

* cargo fmt

* prepr frontend
This commit is contained in:
aecsocket
2026-04-30 20:55:47 +01:00
committed by GitHub
parent 38a39feef1
commit 1875b89556
20 changed files with 195 additions and 32 deletions

View File

@@ -426,7 +426,7 @@ export function createContentInstall(opts: {
}
try {
await add_project_from_version(instance.id, version.id)
await add_project_from_version(instance.id, version.id, 'standalone')
await installVersionDependencies(
profile,
version,
@@ -484,7 +484,7 @@ export function createContentInstall(opts: {
)
if (!id) return
await add_project_from_version(id, version.id)
await add_project_from_version(id, version.id, 'standalone')
await opts.router.push(`/instance/${encodeURIComponent(id)}/`)
const instance = await get(id)
@@ -585,7 +585,7 @@ export function createContentInstall(opts: {
const installedProjectIds: string[] = [project.id]
addInstallingItem(instancePath, project, version)
try {
await add_project_from_version(instance.path, version.id)
await add_project_from_version(instance.path, version.id, 'standalone')
await installVersionDependencies(
instance,
version,