mirror of
https://github.com/archlinux/aur.git
synced 2026-02-07 04:41:00 +01:00
allow opening paths
This commit is contained in:
parent
6fde8993ac
commit
a6a99cc510
2 changed files with 7 additions and 3 deletions
2
GitKraken.desktop
Normal file → Executable file
2
GitKraken.desktop
Normal file → Executable file
|
|
@ -1,7 +1,7 @@
|
|||
[Desktop Entry]
|
||||
Name=GitKraken
|
||||
Comment=Unleash your repo
|
||||
Exec=gitkraken
|
||||
Exec=gitkraken %f
|
||||
Icon=gitkraken
|
||||
Terminal=false
|
||||
Type=Application
|
||||
|
|
|
|||
8
gitkraken.sh
Normal file → Executable file
8
gitkraken.sh
Normal file → Executable file
|
|
@ -1,3 +1,7 @@
|
|||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
/opt/gitkraken/gitkraken "$@"
|
||||
if [[ "$#" == '1' && "${1:0:1}" != '-' ]]; then
|
||||
exec /opt/gitkraken/gitkraken -p "$1"
|
||||
else
|
||||
exec /opt/gitkraken/gitkraken "$@"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue