Make user analytics optional (#59)

* Make user analytics optional

* Mention analytics in README

* Use analytics flag
This commit is contained in:
Andrey Pokhilko
2022-10-31 15:33:18 +00:00
committed by GitHub
parent 329ae055ee
commit c0a1d31c8d
7 changed files with 81 additions and 52 deletions

View File

@@ -32,6 +32,7 @@ type DataLayer struct {
type VersionInfo struct {
CurVer string
LatestVer string
Analytics bool
}
func (d *DataLayer) runCommand(cmd ...string) (string, error) {