Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: Add DisableGoogleAnalytics field to System struct (#15097)

Arkady3631b729ad62
diff --git a/kernel/conf/system.go b/kernel/conf/system.go
index 52c910688d..e1d6eb39aa 100644
--- a/kernel/conf/system.go
+++ b/kernel/conf/system.go
@@ -51,11 +51,12 @@ type System struct {
func NewSystem() *System {
return &System{
- ID: util.GetDeviceID(),
- Name: util.GetDeviceName(),
- KernelVersion: util.Ver,
- NetworkProxy: &NetworkProxy{},
- DownloadInstallPkg: true,
+ ID: util.GetDeviceID(),
+ Name: util.GetDeviceName(),
+ KernelVersion: util.Ver,
+ NetworkProxy: &NetworkProxy{},
+ DownloadInstallPkg: true,
+ DisableGoogleAnalytics: true,
}
}