2016-03-30 02:08:53 |
Brendan Kidwell |
description |
Quick and dirty description. I will clean this up later.
A user reported in the chat room that the portable Zim Desktop Wiki for Windows (0.65) writes and reads settings in $APPDATA, including:
C:\Users\NAME\AppData\Roaming\zim\data\applications\defaults.list
C:\Users\NAME\AppData\Roaming\zim\data\applications\MYTEXTEDITOR.desktop
C:\Users\NAME\AppData\Roaming\zim\data\applications\mimeinfo.cache
To reproduce, delete $APPDATA/zim and run the portable Zim app. Edit settings, change the default text editor, etc. The folder will have reappeared.
To fix: we need to redefine at the shell level (in ZimDesktopWikiPortable.exe the launcher) environment variables that lead to this situation. If we have to actually redefine $APPDATA we probably can, but it's probably more correct to look at all the XDG_* variables first. |
Quick and dirty description. I will clean this up later.
A user reported in the chat room that the portable Zim Desktop Wiki for Windows (0.65) writes and reads settings in $APPDATA, including:
C:\Users\NAME\AppData\Roaming\zim\data\applications\defaults.list
C:\Users\NAME\AppData\Roaming\zim\data\applications\MYTEXTEDITOR.desktop
C:\Users\NAME\AppData\Roaming\zim\data\applications\mimeinfo.cache
Also end-user-installed plugins are searched for somewhere under $APPDATA which is not proper for a portable app.
To reproduce, delete $APPDATA/zim and run the portable Zim app. Edit settings, change the default text editor, etc. The folder will have reappeared.
To fix: we need to redefine at the shell level (in ZimDesktopWikiPortable.exe the launcher) environment variables that lead to this situation. If we have to actually redefine $APPDATA we probably can, but it's probably more correct to look at all the XDG_* variables first. |
|