Code Monkey home page Code Monkey logo

Comments (6)

SteveFosdick avatar SteveFosdick commented on June 12, 2024

This should only be an issue starting for the first time as, wherever the config was found, it is saved back to the home directory ($XDG_CONFIIG_DIR) but you're right, it should be possible to run from within the build directory. I'll add that to the search path.

from b-em.

SteveFosdick avatar SteveFosdick commented on June 12, 2024

I thought I had fixied this previously, but found I hadn't. I think c74a04b finally nails it.

from b-em.

pau1ie avatar pau1ie commented on June 12, 2024

Thanks - the program now runs if the config doesn't exist.
However, If I try
rm -rf ~/.config/b-em

Then run b-em, I get an error message on exit saying:

config: no suitable destination for config file - config will not be saved

Can the b-em directory be created if it doesn't exist to avoid this? Alternatively the message might be changed to say where it wants to save the config.

from b-em.

SteveFosdick avatar SteveFosdick commented on June 12, 2024

It used to do that but I have just spotted a misplaced bracket in one of the later commits that will have nobbled that. I'll fix that.

from b-em.

SteveFosdick avatar SteveFosdick commented on June 12, 2024

d097799 restores creating the config directory ($XDG_CONFIG_HOME or $HOME/.config/b-em) if it doesn't already exist.

from b-em.

pau1ie avatar pau1ie commented on June 12, 2024

Fixed! Thank you! And thank you for you excellent work on upgrading b-em, it is so much better now.

from b-em.

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.