Skip to content

Commit f9d2f4b

Browse files
committed
setup-util-(beeper|github|esktop-plus): fix app detection on linux
1 parent c6ec14e commit f9d2f4b

2 files changed

Lines changed: 10 additions & 3 deletions

File tree

commands/setup-util-beeper

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ function setup_util_beeper() (
1010
# setup
1111
local options=(
1212
--name='Beeper'
13-
--app='Beeper'
13+
--app='Beeper' # macos, appimage
14+
--app='beepertexts' # linux .desktop
1415
"$@"
1516
)
1617
if __is_windows; then

commands/setup-util-github-desktop-plus

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,20 @@
4343
function setup_util_github_desktop_plus() (
4444
source "$DOROTHY/sources/bash.bash"
4545

46+
# app options
47+
local app_options=(
48+
--app='GitHub Desktop Plus' # macos
49+
--app='github-desktop-plus' # linux *.desktop
50+
)
51+
4652
# improve performance for detectable utilities with conditional assets
47-
if setup-util --check --app=github_desktop "$@"; then
53+
if setup-util --check "${app_options[@]}" "$@"; then
4854
return 0
4955
fi
5056

5157
# setup
5258
local arch options=(
53-
--app='GitHub Desktop Plus'
59+
"${app_options[@]}"
5460
"$@"
5561
AUR='github-desktop-plus-bin'
5662
APT_KEY='https://gpg.polrivero.com/public.key'

0 commit comments

Comments
 (0)