Skip to content

Commit 7cd8985

Browse files
authored
remove trailing _
1 parent d071c76 commit 7cd8985

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

useful-tools/uruntime2appimage.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ _deploy_desktop_and_icon
173173

174174
DESKTOP_ENTRY=$(echo "$APPDIR"/*.desktop)
175175
APPNAME=${APPNAME:-$(awk -F'=' '/^Name=/{gsub(/ /,"_",$2); print $2; exit}' "$DESKTOP_ENTRY")}
176+
APPNAME=${APPNAME%_}
176177

177178
# check for a ~/version file if VERSION is not set
178179
if [ -z "$VERSION" ] && [ -f "$HOME"/version ]; then

0 commit comments

Comments
 (0)