[Github-comments] [geany-plugins] geniuspaste: Add Windows-specific logic for locating system data files (#402)

Colomban Wendling notifications at xxxxx
Sat Mar 12 16:41:52 UTC 2016


> @@ -94,6 +94,54 @@ PLUGIN_SET_TRANSLATABLE_INFO(LOCALEDIR, GETTEXT_PACKAGE, PLUGIN_NAME,
>                               PLUGIN_VERSION, "Enrico Trotta <enrico.trt at gmail.com>")
>  
>  
> +/* Windows compatibility for resolving system plugin data path.
> + * This only works if the plugin's data is installed in the same tree as the
> + * plugin DLL, which might not be true (as the DLL has to be in Geany's libdir
> + * but the plugin's data might be anywhere in theory) */

@codebrainz well, I don't want to pollute the user directory with stuff installed by the plugin that would better be off somewhere else.  If the user wants to edit those, he copies them in his own directory, but he shouldn't need to, it shuold Just Work.  But it's totally optional, I don't need them to function, without them there's just no default pastebins.

---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/402/files#r55923711
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160312/e72c1194/attachment.html>


More information about the Github-comments mailing list