@@ -6,15 +6,15 @@ chmod +r "APP_LOCATION/"*.jar
66# Trigger an auto-install of the browser addon for chrome/chromium browsers
77# First create the necessary path, then copy the autoinstall file.
88install -d /Library/Application\ Support/Google/Chrome/External\ Extensions/
9- install -m0644 /Applications/JabRef.app/Contents/Resources/ native-messaging-host/chromium/bifehkofibaamoeaopjglfkddgkijdlh.json /Library/Application\ Support/Google/Chrome/External\ Extensions/bifehkofibaamoeaopjglfkddgkijdlh.json
9+ install -m0644 /Applications/JabRef.app/Contents/native-messaging-host/chromium/bifehkofibaamoeaopjglfkddgkijdlh.json /Library/Application\ Support/Google/Chrome/External\ Extensions/bifehkofibaamoeaopjglfkddgkijdlh.json
1010# Install the native-messaging host script for firefox/chrome/chromium
1111install -d /Library/Application\ Support/Mozilla/NativeMessagingHosts/
12- install -m0755 /Applications/JabRef.app/Contents/Resources/ native-messaging-host/firefox/org.jabref.jabref.json /Library/Application\ Support/Mozilla/NativeMessagingHosts/org.jabref.jabref.json
12+ install -m0755 /Applications/JabRef.app/Contents/native-messaging-host/firefox/org.jabref.jabref.json /Library/Application\ Support/Mozilla/NativeMessagingHosts/org.jabref.jabref.json
1313install -d /Library/Application\ Support/Chromium/NativeMessagingHosts/
14- install -m0755 /Applications/JabRef.app/Contents/Resources/ native-messaging-host/chromium/org.jabref.jabref.json /Library/Application\ Support/Chromium/NativeMessagingHosts/org.jabref.jabref.json
14+ install -m0755 /Applications/JabRef.app/Contents/native-messaging-host/chromium/org.jabref.jabref.json /Library/Application\ Support/Chromium/NativeMessagingHosts/org.jabref.jabref.json
1515install -d /Library/Google/Chrome/NativeMessagingHosts/
16- install -m0755 /Applications/JabRef.app/Contents/Resources/ native-messaging-host/chromium/org.jabref.jabref.json /Library/Google/Chrome/NativeMessagingHosts/org.jabref.jabref.json
16+ install -m0755 /Applications/JabRef.app/Contents/native-messaging-host/chromium/org.jabref.jabref.json /Library/Google/Chrome/NativeMessagingHosts/org.jabref.jabref.json
1717install -d /Library/Microsoft/Edge/NativeMessagingHosts/
18- install -m0755 /Applications/JabRef.app/Contents/Resources/ native-messaging-host/chromium/org.jabref.jabref.json /Library/Microsoft/Edge/NativeMessagingHosts/org.jabref.jabref.json
18+ install -m0755 /Applications/JabRef.app/Contents/native-messaging-host/chromium/org.jabref.jabref.json /Library/Microsoft/Edge/NativeMessagingHosts/org.jabref.jabref.json
1919
2020exit 0
0 commit comments