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

how to reset the app? #19

Open
vimkim opened this issue Aug 22, 2018 · 1 comment
Open

how to reset the app? #19

vimkim opened this issue Aug 22, 2018 · 1 comment

Comments

@vimkim
Copy link

vimkim commented Aug 22, 2018

For those who wanna reset the app, here's my sneaky unofficial solution for it.
Beware as I am not responsible for the side-effects.

cd ~/Library
find . -name '*octomouse*' | xargs -d '\n' rm

Explanation:
the first 'find' command finds (probably) all files related to octomouse under ~/Library directory, then the second 'xargs' command applies 'rm' to each file.

At first I was looking for some xml, csv, json kinda data files inside octomouse package to reset the keystroke counter, but then I soon figured that OctoMouse uses something called 'NSUserDefaults' to store the keystroke count. I have no idea how this works so I just decided to delete everything related to 'octomouse' under ~/Library directory. Seems working for me.

The question is self-answered, so the owner of the repository can close this issue if he finds this solution causes no risk to his app.

@vimkim vimkim changed the title how to reset the app? (Total clicks = 0) how to reset the app? Aug 22, 2018
@BaksiLi
Copy link

BaksiLi commented May 11, 2019

Got the same concern here, but it seems like the owner is no longer working on this.

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

No branches or pull requests

2 participants