{{/* Detected badge for externally installed apps */}} {{if not
.App.Managed}}
Detected
{{end}} {{/* Styled install method tag with icon */}} {{if
.App.TypeTag}} {{if or (eq .App.TypeTag "Package Manager")
$.Platform.Distro}} {{/* Package Manager with distro logo */}}
{{if and (eq .App.TypeTag "Package Manager")
$.Platform.Distro}}
{{else if .App.TypeLogo}}
{{end}} {{.App.TypeTag}}
{{else if .App.TypeLogo}} {{/* Flatpak, Portable, or Installed
App with icon */}}
{{.App.TypeTag}}
{{else}} {{/* UI Component, Utility, or fallback without icon
*/}}
{{.App.TypeTag}}
{{end}} {{end}} {{/* UI overlay tag - only for MPV-based apps
that support UI changes */}} {{if and .App.UIType (canChangeUI
.App.InstallMethod)}}
{{if eq .App.UIType "uosc"}}UOSC UI{{else if eq .App.UIType
"modernz"}}ModernZ UI{{else}}Default UI{{end}}
{{end}} {{if .App.Version}}
{{cleanAppVersion .App.Version}}
{{end}}
{{/* Show Create Shortcut button for Windows MPV portable/binary
installs */}} {{if and $.Platform.IsWindows (or (eq
.App.InstallMethod "mpv-binary") (eq .App.InstallMethod
"mpv-binary-v3"))}}
{{end}} {{/* For unmanaged apps: Show Manage button to
adopt/configure - available for ALL externally detected apps */}}
{{if not .App.Managed}}
{{/* For managed apps that support UI changes: Show Change UI button
*/}} {{else if canChangeUI .App.InstallMethod}}
{{end}} {{/* Uninstall button - only for managed apps */}} {{if
.App.Managed}}
{{end}}