Waishnav / Watcher

Minimal open source Screen-Time Tracker for Linux
https://watcher-org.github.io/Watcher
MIT License
139 stars 11 forks source link

Repo getting cloned again during installation #43

Closed VishnuSanal closed 1 year ago

VishnuSanal commented 1 year ago

Hi, great work with Watcher!

https://github.com/Waishnav/Watcher/blob/42b578cd0cd4335d26e20bb1905680eee94f8dda/install#L2

I noticed the repo getting cloned from the installation script. User would have already cloned the repo to run the installation script. Why clone the repo again from v2.0 branch?

Also, the user would have most probably cloned the repo from the git clone command from the README file (atleast I did!). Instead of cloning the repo again from the installation script, how about updating the README with git clone https://github.com/Waishnav/Watcher -b v2.0 in the installation instructions itself?

VishnuSanal commented 1 year ago

fixed with https://github.com/Watcher-Org/Watcher/commit/ebd6627bb92a97343a17638463c8493dff3c2aa4, thanks!