Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for multiple accounts? #456

Open
mortonfox opened this issue Jun 18, 2020 · 2 comments
Open

Support for multiple accounts? #456

mortonfox opened this issue Jun 18, 2020 · 2 comments
Milestone

Comments

@mortonfox
Copy link

The more we know about your system and use case, the more easily and likely we can help.

Environment info

  • OS: macOS 10.13.6
  • App Version (Command/Ctrl + ,): 1.9.1

Description of the problem / feature request / question:

I have two Github accounts, a personal account and a work account. Both accounts have gists that I would like to view/edit with Lepton.

Is there a way for Lepton to support multiple accounts at the same time, i.e. without logging out and logging in again every time I want to work on a gist in the other account?

I would be okay with running multiple instances of Lepton using open -n as a workaround. However, if I ran it that way, the data directory will have to be different from the default for one of them.

If possible, provide a sample gist or screenshot:

If possible, provide the log files

For Lepton after v1.9.0, the path of the log file can be found at Command/Ctrl + ,

  • Mac: ~/Library/Application Support/Lepton/logs
  • Windows: C:\Users\<username>\AppData\Roaming\Lepton\logs
  • Linux: ~/.cached/Lepton/logs

The debug mode is recommended when producing the logs.
You can send your log file to cosmo.lepton@gmail.com if don't want to post it here.

@liuxd
Copy link

liuxd commented Oct 29, 2020

me too. I also hope the awesome app supports multiple accounts.

@hackjutsu hackjutsu added this to the 2.x milestone Nov 27, 2020
@hackjutsu
Copy link
Owner

hackjutsu commented Nov 27, 2020

I use a small script to switch between my personal and the enterprise accounts which essentially toggles the .leptonrc field enterprise.enable. https://github.com/hackjutsu/Lepton/wiki/Configuration

But I agree it's preferable to have the native multi-account support in Lepton.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants