Skip to content

Commit

Permalink
fix for real
Browse files Browse the repository at this point in the history
  • Loading branch information
Azathothas authored Sep 30, 2024
1 parent 619f458 commit ddb73f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/temp/AM_example.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ EOF
chmod a+x "./AM-updater" || exit 1

# LAUNCHER & ICON
curl -qfsSL "${SITE}/${APP}.desktop" -o "./${APP}.desktop"
curl -qfsSL "${SITE}/${APP}.DirIcon" -o "./.DirIcon"
curl -qfsSL "${SRC}/${APP}.desktop" -o "./${APP}.desktop"
curl -qfsSL "${SRC}/${APP}.DirIcon" -o "./.DirIcon"
sed -i "s#Exec=[^ ]*#Exec=${APP}#g; s#Icon=.*#Icon=/opt/${APP}/icons/${APP}#g" "./${APP}.desktop"
mv "./${APP}.desktop" "/usr/local/share/applications/${APP}-AM.desktop" && mv "./.DirIcon" "./icons/${APP}" 1>/dev/null

0 comments on commit ddb73f3

Please sign in to comment.