Giter Club home page Giter Club logo

Comments (1)

marty-oehme avatar marty-oehme commented on June 3, 2024

I hummed and hawwed about it but I do believe it's easiest to break the old behavior in favor of the new state directory one.

It now simply defaults to the new directory and will lose the old history as a consequence if that one also made use of the default directory. To fix that simply copy the history file from ~/.cache/bemoji-history.txt to ~/.local/state/bemoji-history.txt and everything will be as before.

The reason I am doing so is that it will prevent a lot of headache in the future - both on my and the user side.
If we kept the cache directory check, we would have to define a precedence between the directories,
checked not just for directory but files existing and acted along a strangely branching set of options. This is cleaner and will only create a hassle once.

from bemoji.

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.