mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-24 02:20:13 +01:00
🎨 Add DisableGoogleAnalytics field to System struct (#15097)
This commit is contained in:
parent
9f5aca1e58
commit
3631b729ad
1 changed files with 6 additions and 5 deletions
|
|
@ -51,11 +51,12 @@ type System struct {
|
||||||
|
|
||||||
func NewSystem() *System {
|
func NewSystem() *System {
|
||||||
return &System{
|
return &System{
|
||||||
ID: util.GetDeviceID(),
|
ID: util.GetDeviceID(),
|
||||||
Name: util.GetDeviceName(),
|
Name: util.GetDeviceName(),
|
||||||
KernelVersion: util.Ver,
|
KernelVersion: util.Ver,
|
||||||
NetworkProxy: &NetworkProxy{},
|
NetworkProxy: &NetworkProxy{},
|
||||||
DownloadInstallPkg: true,
|
DownloadInstallPkg: true,
|
||||||
|
DisableGoogleAnalytics: true,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue