smoothgesturesplus / Issues

Smooth Gestures Plus: Issues
smoothgesturesplus.com
6 stars 1 forks source link

Add support for Chromium in Extras installer #52

Open ryhaberecht opened 7 years ago

ryhaberecht commented 7 years ago

The installer of the Extras package assumes I am using Chrome and thus copies the config for Chrome to installdir = '/etc/opt/chrome/native-messaging-hosts' Using Chromium, however, this path is wrong, instead useinstalldir = '/etc/chromium/native-messaging-hosts'

Please add logic that recognises if Chromium is installed, instead of Chrome, and then change to the correct path.

zvalcav commented 6 years ago

It is a little bit more complicated on Ubuntu distributions where chromium is some old game and proper path is /etc/chromium-browser/native-messaging-hosts. But most important is that after copying file called com.smoothgesturesplus.extras.json from /etc/opt/chrome/native-messaging-hosts to /etc/chromium-browser/native-messaging-hosts it started working.