Merge pull request #942 from nbirnel/native-install-opensuse-941

fix native install on opensuse - issue 941
This commit is contained in:
Oliver Blanthorn 2018-08-23 23:04:42 +01:00 committed by GitHub
commit a5d1686901
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,6 +24,8 @@ native_loc="https://raw.githubusercontent.com/cmcaine/tridactyl/master/native/na
# Decide where to put the manifest based on OS
if [[ "$OSTYPE" == "linux-gnu" ]]; then
manifest_home="$HOME/.mozilla/native-messaging-hosts/"
elif [[ "$OSTYPE" == "linux" ]]; then
manifest_home="$HOME/.mozilla/native-messaging-hosts/"
elif [[ "$OSTYPE" == "darwin"* ]]; then
manifest_home="$HOME/Library/Application Support/Mozilla/NativeMessagingHosts/"
fi