-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
Hi,
is the restriction to linux given by the inotify dependency?
If so, a possible approach to make the native connector more portable could be to use Gio from Glib, and in particular the GFileMonitor API https://developer.gnome.org/gio/stable/GFile.html#g-file-monitor-directory AFAIU this will use different backends depending on the system (e.g. inotify on linux) and fall back to polling if there is not a native one for the system.
An example of a native connector using Gio is the chrome-gnome-shell extension: https://github.com/GNOME/chrome-gnome-shell/tree/master/connector
I also noticed that chrome-gnome-shell installs the native part of the extension in $PREFIX/bin, any idea if this is the standard practice?
Metadata
Metadata
Assignees
Labels
No labels