Skip to content

Commit d9c608d

Browse files
authored
make sure to only get bin name from desktop entry
1 parent 375c149 commit d9c608d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

useful-tools/quick-sharun.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -914,6 +914,7 @@ _deploy_datadir() {
914914
if [ -f "$1" ]; then
915915

916916
bin=$(awk -F'=| ' '/^Exec=/{print $2; exit}' "$1")
917+
bin=${bin##*/}
917918
possible_dirs=$(
918919
strings "$APPDIR"/shared/bin/"$bin" \
919920
| grep -v '[;:,.(){}?<>*]' \

0 commit comments

Comments
 (0)