mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-24 02:20:13 +01:00
🎨 桌面端自动下载更新安装包 https://github.com/siyuan-note/siyuan/issues/5837
This commit is contained in:
parent
9531bdd01c
commit
e2a6780cec
14 changed files with 155 additions and 16 deletions
|
|
@ -36,14 +36,16 @@ type System struct {
|
|||
NetworkServe bool `json:"networkServe"`
|
||||
NetworkProxy *NetworkProxy `json:"networkProxy"`
|
||||
|
||||
UploadErrLog bool `json:"uploadErrLog"`
|
||||
UploadErrLog bool `json:"uploadErrLog"`
|
||||
DownloadInstallPkg bool `json:"downloadInstallPkg"`
|
||||
}
|
||||
|
||||
func NewSystem() *System {
|
||||
return &System{
|
||||
ID: util.GetDeviceID(),
|
||||
KernelVersion: util.Ver,
|
||||
NetworkProxy: &NetworkProxy{},
|
||||
ID: util.GetDeviceID(),
|
||||
KernelVersion: util.Ver,
|
||||
NetworkProxy: &NetworkProxy{},
|
||||
DownloadInstallPkg: true,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue