termgram icon indicating copy to clipboard operation
termgram copied to clipboard

Uninstalling doesn't delete module data

Open Pro-Ton opened this issue 8 years ago • 4 comments

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

Pro-Ton avatar Oct 22 '16 19:10 Pro-Ton

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.

derhuerst avatar Oct 22 '16 23:10 derhuerst

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

Pro-Ton avatar Oct 23 '16 10:10 Pro-Ton

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

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

derhuerst avatar Oct 23 '16 11:10 derhuerst

Windows, it's in username/.termgram

guilhem-fry avatar Sep 03 '17 12:09 guilhem-fry