[Qgis-developer] Persistent plugin files amended by user, wiped by upgrade
madmanwoo at gmail.com
Tue Mar 22 13:17:54 PDT 2016
You should not store stuff with the plugin itself. Store it in .qgis2 and
make a folder there. There is API for resolving that folder path.
On Wed, 23 Mar 2016 6:07 am Tom Chadwin <tom.chadwin at nnpa.org.uk> wrote:
> I've got something rather badly wrong in qgis2web. The plugin has a
> /templates folder, and users are encouraged to add their own templates.
> However, a user has just rightly pointed out that because /templates is
> within the plugin folder, changes are lost when upgrading the plugin to a
> new version. He has therefore lost his work.
> How can I solve this? Does the plugin install process have permission to
> write to a user's home directory as well as to the plugin folder?
> View this message in context:
> Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Qgis-developer