Open floriandd2ba opened 7 years ago
Provide data_directory
with an absolute path to any folder and it will be used for storage files. The pat must end with slash:
on osx for example:
/Users/some_user/some_dir/
i.
Hi,
in my settings_main_user.json file is this section: // data directory used for the local storage "data_directory": "U:/zwork/markdown/WMdaten/", (Windows Server 2012)
This works fine for "writemonkey3_sheets" and "writemonkey3_custom_dictionary".
But other files like "Web Data" or "lockfile" was created in this path: c:\Users\XXX\AppData\Local\Writemonkey 3
With this behaviour the app is not really portable or Terminal/Remote Service friendly.
I hope with this details you can better understand me. Sorry for my poor englisch.
Greats Florian
The behavior described by Florian still exists in version 3.0.4 on Windows 10 pro.
Another challenge is, that there is possibly data written on a Laptop/PC, where I do not want to leave data.
Sometimes I pack my "mobile apps" in a 7z file to copy them on another machine temporarily. It is easy to configure this with identical full path, but it is not that handy, that I have to clear the local pathes on leaving this computer.
Maybe a setting option "local:true" would be useful to set writemonkey into a "full portable mode", that stores everything in a subfoler (i.e. "mydata") of the program directory. If this option specifies a fixed setting (i.e. creating a data path itself), no path specification would be required for the storage, Writemonkey would then use a relative path (program path - storage folder) - it would be completely portable and could be installed on a USB-stick.
Notice: Changing the storage path currently (3.0.4) leads to lost of registration. The registration is always stored locally - that's not nice, because I don't want to transfer my license key to other computers!
A portable mode with a "local" flag will be good solution for Terminalserver and portable use.
Lack of option to run WriteMonkey in portable mode prevents me from using it.
I suppose that a simple solution would be what floriandd2ba suggested- on start WriteMonkey checks for portable flag in program folder and portable flag triggers portable mode- data and settings are saved in program folder. Another solution might be command line parameter, for example:
WriteMonkey.exe -portable
I'll consider an option where all app data is saved in to a file and repopulated on next run. Making wm3 portable is on my to-do list. i.
@writemonkey, err… Hello? :)
Hi, I use WM3 in a Windows 2012 Remote Terminal Service Enviroment. All files in AppData\Local\Writemonkey 3 are not saved by logout. At next Login Writemonkey ist complety "fresh" (Example: forget Licence key).
Is it possible to change the directory for this data, similar to "data_directory"?
Thank you Florian