Skip to content

fix(install): install the Spotify web app when no native client exists - #412

Open
duketopceo wants to merge 1 commit into
omacom:quattrofrom
duketopceo:fix-spotify-aarch64-webapp
Open

fix(install): install the Spotify web app when no native client exists#412
duketopceo wants to merge 1 commit into
omacom:quattrofrom
duketopceo:fix-spotify-aarch64-webapp

Conversation

@duketopceo

Copy link
Copy Markdown

Summary

Fixes #317.

omarchy-install-service-spotify ran omarchy-pkg-add spotify, which skips the package via the ARM repo filter and exits 0 — then unconditionally launched /usr/bin/spotify (an App failure notification) and printed "Spotify has been installed."

Since no aarch64 Spotify client exists, when the spotify package is neither installed nor in the repos the installer now installs the Spotify web app (open.spotify.com via omarchy-webapp-install, dashboard-icons artwork) — the fork's intended client per the intentional-divergences list — and launches it. Systems that can install the package keep the native path unchanged.

Two supporting changes:

  • omarchy-launch-spotify gains a branch for ~/.local/share/applications/Spotify.desktop, so SUPER+SHIFT+M opens the web app instead of re-running the installer. (Focus already worked — the webapp's class …open.spotify.com… matches the existing \bspotify\b regex.)
  • The menu row dims once either client is present (pkg-present spotify || Spotify.desktop).

Test plan

  • On aarch64 4.0.3-1 (pacman -Si spotify → absent): installer takes the webapp branch, calls omarchy-webapp-install Spotify https://open.spotify.com …, launches via omarchy-launch-webapp, prints an honest message
  • menu-guards/menu tests pass; bash -n clean

Generated with Devin

omarchy-install-service-spotify ran omarchy-pkg-add and then unconditionally
launched /usr/bin/spotify and claimed success. On systems the repos cannot
serve (no aarch64 build exists), that printed "Spotify has been installed"
followed by an App failure notification for a binary that never landed.

When the spotify package is neither installed nor in the repos, install the
Spotify web app instead — the Mac fork's intended client. The launcher gains
a branch for the webapp's desktop file so SUPER+SHIFT+M opens it, and the
menu row dims once either client is present.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@wesleygrimes wesleygrimes added the defer Parked. Needs a decision, or may die with the fork. Do not close or port yet. label Sep 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

defer Parked. Needs a decision, or may die with the fork. Do not close or port yet.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Menu > Install > Spotify reports success then throws an App failure: no Spotify client exists for aarch64

2 participants