Skip to content

Commit 62d4346

Browse files
authored
Take number 10 on trying to fix the quotations in the Exec= line.
1 parent b99f0b9 commit 62d4346

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

android-tools-appimage.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,16 @@ mkdir "./$APP.AppDir" && mv --backup=t ./tmp/*/* ./$APP.AppDir
1414
cd ./$APP.AppDir || exit
1515

1616
# DESKTOP ENTRY
17-
echo "[Desktop Entry]
17+
cat >> ./Android-$APP.desktop << 'EOF'
18+
[Desktop Entry]
1819
Name=Android-platform-tools
1920
Type=Application
2021
Icon=Android
2122
TryExec=android-tools-appimage
22-
Exec=\"'sh -ic \"android-tools-appimage adb shell\";\" exec bash\"'\"
23+
Exec="sh -ic 'android-tools-appimage adb shell"";"" exec bash'"
2324
Categories=Utility;
24-
Terminal=true" >> "./Android-$APP.desktop"
25+
Terminal=true
26+
EOF
2527

2628
# GET ICON
2729
wget https://developer.android.com/static/images/brand/Android_Robot.png -O ./Android.png 2> /dev/null

0 commit comments

Comments
 (0)