jesseduffield / jesseduffield/lazydocker

Donate link crashes program when clicked on system without `xdg-open`

Open
#437 0 comments 8 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
52.8k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
Lazydocker doesn't check if `xdg-open` is installed before attempting to run it, and crashes if it's missing.

**To Reproduce**
Steps to reproduce the behavior:
1. Install Lazydocker on a machine without `xdg-open` installed (such as a headless server)
2. Click donate link
3. Crash

**Expected behaviour**
Lazydocker should prompt (possibly with a link to manually copy) that it can't open the page itself.

**Desktop:**
- OS: Headless Arch Linux server
- Lazydocker Version 0.18.1

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.