Re: Standardpaths library

2015-05-08 Thread Baz via Digitalmars-d-announce
On Sunday, 5 April 2015 at 09:08:14 UTC, FreeSlave wrote: I wrote small library for getting standard paths (like Pictures, Music) Here's dub package http://code.dlang.org/packages/standardpaths And github repo https://github.com/MyLittleRobo/standardpaths You can see open issues on github.

Re: Standardpaths library

2015-04-08 Thread Marco Leise via Digitalmars-d-announce
Am Tue, 07 Apr 2015 11:58:58 + schrieb Kagamin s...@here.lot: On Monday, 6 April 2015 at 21:40:28 UTC, Marco Leise wrote: So if some configuration is portable and you want to create something really fine grained you could offer that directory as an alternative roaming config dir

Re: Standardpaths library

2015-04-08 Thread Marco Leise via Digitalmars-d-announce
Am Tue, 07 Apr 2015 17:27:34 + schrieb FreeSlave freeslav...@gmail.com: On Monday, 6 April 2015 at 21:40:28 UTC, Marco Leise wrote: I believe modern desktops offer enough granularity to cover each of those. For example if I was playing a game on Linux files would go here:

Re: Standardpaths library

2015-04-07 Thread Kagamin via Digitalmars-d-announce
On Monday, 6 April 2015 at 21:40:28 UTC, Marco Leise wrote: So if some configuration is portable and you want to create something really fine grained you could offer that directory as an alternative roaming config dir (returning null or ~/.config on Linux). Though it's unusual for an average

Re: Standardpaths library

2015-04-07 Thread FreeSlave via Digitalmars-d-announce
On Monday, 6 April 2015 at 21:40:28 UTC, Marco Leise wrote: I believe modern desktops offer enough granularity to cover each of those. For example if I was playing a game on Linux files would go here: /usr/share/[games/] - read-only data files. ~/.cache/ - downloaded archives, precompiled

Re: Standardpaths library

2015-04-06 Thread Xavier Bigand via Digitalmars-d-announce
Le 05/04/2015 11:08, FreeSlave a écrit : I wrote small library for getting standard paths (like Pictures, Music) Here's dub package http://code.dlang.org/packages/standardpaths And github repo https://github.com/MyLittleRobo/standardpaths You can see open issues on github. Please, participate

Re: Standardpaths library

2015-04-06 Thread Marco Leise via Digitalmars-d-announce
Am Sun, 05 Apr 2015 12:31:23 + schrieb FreeSlave freeslav...@gmail.com: On Sunday, 5 April 2015 at 11:42:42 UTC, Marco Leise wrote: On another note when I ran your 'printdirs' it didn't list a user Fonts or Applications directory. The Applications directory is ok, but I do have a

Re: Standardpaths library

2015-04-06 Thread Marco Leise via Digitalmars-d-announce
Am Sun, 05 Apr 2015 12:39:04 + schrieb FreeSlave freeslav...@gmail.com: On Sunday, 5 April 2015 at 11:42:42 UTC, Marco Leise wrote: is this Windows? return executable_path That depends on what do you understand by data. The data I was referring to is the stuff that is installed with

Re: Standardpaths library

2015-04-05 Thread FreeSlave via Digitalmars-d-announce
On Sunday, 5 April 2015 at 11:42:42 UTC, Marco Leise wrote: On another note when I ran your 'printdirs' it didn't list a user Fonts or Applications directory. The Applications directory is ok, but I do have a ~/.fonts/ directory and /etc/fonts/fonts.conf says: !-- the following element will be

Re: Standardpaths library

2015-04-05 Thread Kagamin via Digitalmars-d-announce
On Sunday, 5 April 2015 at 09:08:14 UTC, FreeSlave wrote: And github repo https://github.com/MyLittleRobo/standardpaths If I understand meaning of PublicShare correctly, it's CSIDL_COMMON_APPDATA on Windows.

Re: Standardpaths library

2015-04-05 Thread FreeSlave via Digitalmars-d-announce
On Sunday, 5 April 2015 at 11:42:42 UTC, Marco Leise wrote: is this Windows? return executable_path That depends on what do you understand by data. Are game's saves data too? Or content downloaded while playing (server-specific assets or new levels). In the past it was ok to write configs

Re: Standardpaths library

2015-04-05 Thread Marco Leise via Digitalmars-d-announce
Am Sun, 05 Apr 2015 09:08:12 + schrieb FreeSlave freeslav...@gmail.com: I wrote small library for getting standard paths (like Pictures, Music) Here's dub package http://code.dlang.org/packages/standardpaths And github repo https://github.com/MyLittleRobo/standardpaths You can see

Re: Standardpaths library

2015-04-05 Thread FreeSlave via Digitalmars-d-announce
On Sunday, 5 April 2015 at 12:35:46 UTC, Kagamin wrote: On Sunday, 5 April 2015 at 09:08:14 UTC, FreeSlave wrote: And github repo https://github.com/MyLittleRobo/standardpaths If I understand meaning of PublicShare correctly, it's CSIDL_COMMON_APPDATA on Windows. Although I did not find if