Code Monkey home page Code Monkey logo

Comments (7)

jmathai avatar jmathai commented on May 18, 2024 1

Fixing a 1,200 day old bug like no one's business.

from elodie.

jmathai avatar jmathai commented on May 18, 2024

.elodie is a bad spot to look. Ultimately I figured it needs to store information however OS X apps do it. I'm not familiar with any of that but I assume there's something similar to Core Data that exists for the desktop. Even if it's a location where an app can store things.

If you want that to be in Google Drive then I think what makes sense is to let the user set that up via symlink.

from elodie.

justinwoodcock avatar justinwoodcock commented on May 18, 2024

We could use one of the database options. I went with Disk DB because it was basic, all it does is store a .json file and then you have some mongo like queries you can make. That doesn't help the portability that @patricksan is looking for though.

from elodie.

jmathai avatar jmathai commented on May 18, 2024

@justinwoodcock @patricksan since we're using Electron I guess we should store this in a platform agnostic way. Originally I was thinking to use OS X standards but something more along the lines of what Atom uses seems reasonable.

from elodie.

ibizaman avatar ibizaman commented on May 18, 2024

@patricksan I suppose a simple way would be to use a symlink from .elodie to your Google Drive. At least that should work in the meantime.

from elodie.

noonat avatar noonat commented on May 18, 2024

The appdirs module might be useful for Python... it would give you a cross platform way to get something equivalent to Electron's app.getPath('userData').

from elodie.

jmathai avatar jmathai commented on May 18, 2024

@noonat I think that's the right solution. A quick search didn't reveal a similar library for nodejs but this stack overflow comment might be sufficient.

I'll close gh-68 as a duplicate of this and I don't have any objections to using SQLite in the platform's application directory as the right solution.

The application name should be Elodie with a capital E.

from elodie.

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.