Skip to content

Commit

Permalink
fix double desktop file
Browse files Browse the repository at this point in the history
  • Loading branch information
Castro-Fidel committed Feb 13, 2024
1 parent 2bb37df commit ac89471
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions data_from_portwine/scripts/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ killall -15 yad_v12_3 2>/dev/null
kill -TERM `pgrep -a yad | grep ${portname} | head -n 1 | awk '{print $1}'` 2>/dev/null

if [[ -f "/usr/bin/portproton" ]] && [[ -f "${HOME}/.local/share/applications/PortProton.desktop" ]] ; then
export SKIP_CHECK_UPDATES=1
/usr/bin/env bash "/usr/bin/portproton" "$@" &
exit 0
rm -f "${HOME}/.local/share/applications/PortProton.desktop"
fi

[[ "$MISSING_DESKTOP_FILE" == 1 ]] && portwine_missing_shortcut
Expand Down

0 comments on commit ac89471

Please sign in to comment.