enricostara / termgram

A terminal client to connect with Telegram
www.termgram.me
MIT License
45 stars 10 forks source link

Uninstalling doesn't delete module data #15

Open Pro-Ton opened 7 years ago

Pro-Ton commented 7 years ago

After installing npm install -g termgram and signed in to my telegram account, I tried uninstalling npm uninstall -g termgram.

After I installed Termgram agian, it had the previous data and asked for username/password instead of prompting for phone number and verification code (as it does the first time I installed it).

Thanks

derhuerst commented 7 years ago

Imho it is a matter of taste if the configuration data should be deleted of not. However, there should be a clear documentation of what is stored where and how to remove it.

Pro-Ton commented 7 years ago

@derhuerst Thank you for your comment, do you know where the data is stored / how can I remove it?

derhuerst commented 7 years ago

Looking quickly into the code, it seems as if it's ~/.termgramm.

You could submit a PR that adds this information to the readme.

guilhem-fry commented 7 years ago

Windows, it's in username/.termgram