Giter Site home page Giter Site logo

Comments (5)

timfel avatar timfel commented on July 21, 2024

It's not possible to define a custom location for ~/.stratagus

from stratagus.

timfel avatar timfel commented on July 21, 2024

it probably should go into ~/.config/stratagus, i guess

from stratagus.

Barbaross93 avatar Barbaross93 commented on July 21, 2024

Bummer :(

Technically, if we're following proper XDG specifications, extracted game files should go in ~/.local/share/stratagus and any config files should go in ~/.config/stratagus. To be more correct, stratagus should look for $XDG_CONFIG_HOME and $XDG_DATA_HOME; falling back to the aforementioned directories if those variables are undefined.

from stratagus.

timfel avatar timfel commented on July 21, 2024

thanks, the last time I checked how XDG specifies that was years ago and I had forgotten. It's only one place in the codebase, iirc, maybe I'll get to it sometime, or someone else will

from stratagus.

timfel avatar timfel commented on July 21, 2024

Fixed in master. Data is now extracted to XDG_DATA_HOME and savegames and config files are stored in XDG_CONFIG_HOME

from stratagus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.