Lepton icon indicating copy to clipboard operation
Lepton copied to clipboard

Support for multiple accounts?

Open mortonfox opened this issue 5 years ago • 2 comments
trafficstars

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 [email protected] if don't want to post it here.

mortonfox avatar Jun 18 '20 17:06 mortonfox

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

liuxd avatar Oct 29 '20 02:10 liuxd

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.

hackjutsu avatar Nov 27 '20 02:11 hackjutsu