Skip to content

Commit

Permalink
Revert env path in snap python (#7519)
Browse files Browse the repository at this point in the history
  • Loading branch information
LyzardKing authored Mar 12, 2021
1 parent 8bb7668 commit 0dd4de7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ parts:
snapcraftctl build
snapcraftctl set-version "$(cat $SNAPCRAFT_PART_INSTALL/lib/app/.jpackage.xml | grep "app-version" | cut -d">" -f2 | cut -d"<" -f1)"
sed -i 's|/opt/jabref/lib/jabrefHost.py|/snap/bin/jabref.browser-proxy|g' $SNAPCRAFT_PART_INSTALL/lib/native-messaging-host/*/org.jabref.jabref.json
sed -i 's/usr\/bin\/env python3/usr\/bin\/python3/g' $SNAPCRAFT_PART_INSTALL/lib/jabrefHost.py
rm $SNAPCRAFT_PART_INSTALL/bin/JabRef
jabref-launcher:
after:
Expand Down

0 comments on commit 0dd4de7

Please sign in to comment.