Author Topic: Request for comment: data directory location  (Read 2156 times)

Offline farin

  • Duke
  • *
  • Posts: 241
  • Merit: 44
  • JCloisterZone maintainer
    • View Profile
Request for comment: data directory location
« on: January 02, 2015, 06:11:17 AM »
Hi

I just resolved issue whit write only app directory (then config file can't by created causing presets not workign etc.)
Current algorithm is
- check app dir, if is writeable use it (so in this case it works as before)
- otherwise use system "data usual" location (~/.jcloisterzone or   C:\Users\USER\AppData\Roaming\JCloisterZone)

Data directory is used for config.yaml, error.log, saves (maybe screenshots in future)
The Questions is - Shoud be "data usual" location used primary regardless on app dir? For me it is quite handy have all stuff in one directory. But I am old school user and it is true that using separate data directroy is more standard way.

Thanks for your comments.

Linkback: https://www.carcassonnecentral.com/community/index.php?topic=1393.0

Offline MrNumbers

  • Duke Chevalier
  • *
  • Posts: 1830
  • Merit: 91
    • View Profile
    • Carcassonne Latvia
Re: Request for comment: data directory location
« Reply #1 on: January 02, 2015, 10:40:44 AM »
For me, since this application is portable (in opposition to installable applications), I prefer that all files would be in app's directory.
Pros: application is truly portable, so it can be on USB flash drive, in cloud etc. Version controls is also good thing: all application's versions are completely independent.
Cons: every time after new version is launched, I must configure it anew.
"I never lose. Either I win or I learn." (Nelson Mandela)


Share via delicious Share via digg Share via facebook Share via furl Share via linkedin Share via myspace Share via reddit Share via stumble Share via technorati Share via twitter

  Subject / Started by Replies / Views Last post
xx
Request for comment: tile rotation functionality

Started by farin

4 Replies
2934 Views
Last post December 20, 2014, 02:42:40 PM
by farin
xx
BGG Geekmarket is closing - Historical Carcassonne Sales Data

Started by Willem

4 Replies
903 Views
Last post August 15, 2022, 02:57:26 AM
by Meepledrone
xx
Song Parody Request Thread (Must be Carcassonne Related)

Started by Big Guy

14 Replies
11765 Views
Last post August 25, 2013, 10:20:14 PM
by Paul
xx
WikiCarpedia: request corrections or submit suggestions here

Started by Meepledrone

291 Replies
72045 Views
Last post March 11, 2024, 04:19:44 PM
by Meepledrone
xx
Request for update of Profile Carcassonne games

Started by Bumsakalaka

35 Replies
6636 Views
Last post October 19, 2021, 02:51:56 PM
by Meepledrone