Skip to content

Commit

Permalink
Improve installer script.
Browse files Browse the repository at this point in the history
  • Loading branch information
johndah4x0r committed Jan 21, 2018
1 parent a03506c commit abcfdd7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion install_fritzing.sh
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,8 @@ echo "Making symlinks..."
ln -s $(realpath ./Fritzing) "$BIN"/Fritzing

echo "Doing final touch..."
sed -i "s/icons\/fritzing_icon.png/${APP_ICON}/" fritzing.desktop
APP_ICON_ESC="$(echo "$APP_ICON" | sed 's/\//\\\//g')"
sed -i "s/icons\/fritzing_icon.png/${APP_ICON_ESC}/" fritzing.desktop
cp fritzing.desktop "$APPS"
cp icons/fritzing_icon.png "$APP_ICON"

Expand Down

0 comments on commit abcfdd7

Please sign in to comment.