Git Product home page Git Product logo

Comments (7)

eugeneglova avatar eugeneglova commented on June 27, 2024

good question :-) I will add support for this

from binance-trading-bot.

doftorul avatar doftorul commented on June 27, 2024

Electron is not very versatile for multi-instance of the same installed program with separate folders for the actual program and where the data is stored.

from binance-trading-bot.

doftorul avatar doftorul commented on June 27, 2024

If you would commit the latest source that is in the binary, i can run multiple instances from source

from binance-trading-bot.

eugeneglova avatar eugeneglova commented on June 27, 2024

the reason it doesn't work as both uses one config file so if you save api keys in one instance it will modify it for other, as config file stored in one place per program name in system folders. I use electron-store npm package for configuration, so I will add configurable cwd or name for config path or filename not sure how to allow to modify it for now, but I will find out :)
https://github.com/sindresorhus/electron-store#cwd

from binance-trading-bot.

doftorul avatar doftorul commented on June 27, 2024

I remember i did something similar a while back with a Quasar/Vue app packaged with electron and in that one i just allowed the selection of which config/params file the user should use.

Maybe in the API keys tab you can add a button to select the config file ?

from binance-trading-bot.

eugeneglova avatar eugeneglova commented on June 27, 2024

the problem I need to know that info before loading config. I thought to add command line argument like --cwd=app2 but it's not good UX for GUI users

from binance-trading-bot.

eugeneglova avatar eugeneglova commented on June 27, 2024

I added partial multi account support, partial because telegram command will use only default account
https://gumroad.com/l/WWLFh 1.2.7
you should be able to get updated version by this link

from binance-trading-bot.

Related Issues (15)

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.