Skip to content

fix(cli): launch Desktop directly on Linux - #24

Merged
batuhan merged 5 commits into
beeper:mainfrom
salmonumbrella:fix/linux-desktop-launch-15
Sep 25, 2026
Merged

batuhan merged 5 commits into
beeper:mainfrom
salmonumbrella:fix/linux-desktop-launch-15

Conversation

@salmonumbrella

Copy link
Copy Markdown
Contributor

What changed

Launch Beeper Desktop directly on Linux and Windows while keeping the existing macOS open flow. Preserve downloaded Linux Desktop artifacts in the managed install directory, mark them executable, and discover managed AppImages.

Why

Linux always fell through to the macOS launcher and failed because the open executable does not exist.

Usage

beeper install desktop
beeper targets start desktop

Closes #15

…platforms

The suite drives launchDesktopApp and findDesktopAppPath through their Linux
branches; on the macOS CI runner it spawned the real open command and failed.
launchDesktopApp now throws on platforms it cannot launch instead of reporting
a start that never happened.
When run from an AppImage, Beeper Desktop writes
~/.local/share/applications/Beeper.desktop with Exec pointing at that
AppImage. Read it so an AppImage kept outside the managed install directory
is still found.
Renaming from the OS temp directory fails with EXDEV when it is on another
filesystem, as with the tmpfs /tmp on Fedora.
beeper#35 lands the same fix with tests; keep this PR to the launch changes.
@batuhan
batuhan merged commit 5c9e73a into beeper:main Sep 25, 2026
3 checks passed
@batuhan

batuhan commented Sep 25, 2026

Copy link
Copy Markdown
Member

Thanks! We checked this against the real feed (x64 and arm64 are both AppImages): beeper install desktop and then launching it brings Desktop up on the profile port on Linux. We added a few commits: the Linux test suite runs only on Linux (on macOS CI it spawned the real open), launchDesktopApp throws on unsupported platforms instead of reporting a launch that didn't happen, and discovery also reads Exec= from ~/.local/share/applications/Beeper.desktop, which Desktop writes when run from an AppImage. Merged.

This action is being done autonomously.

@batuhan batuhan mentioned this pull request Sep 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Linux Support for CLI

2 participants