fix(apps): repair netbird install and app icons

This commit is contained in:
archipelago
2026-05-19 17:20:32 -04:00
parent cede77f3bc
commit f0bd49d03d
11 changed files with 75 additions and 14 deletions
+2 -1
View File
@@ -166,7 +166,8 @@ const APP_ICON_FALLBACKS: Record<string, string> = {
}
export function resolveAppIcon(id: string, pkg: PackageDataEntry, curatedIcon?: string): string {
const icon = (pkg["static-files"]?.icon || "").trim()
const rawIcon = (pkg["static-files"]?.icon || "").trim()
const icon = rawIcon === '/assets/img/favico.png' ? '' : rawIcon
if (
icon.startsWith("/") ||
icon.startsWith("http://") ||