Skip to content

Commit

Permalink
chore: 更新通知改成查看
Browse files Browse the repository at this point in the history
控制中心v23上不支持通过点击通知进行更新
Issue: linuxdeepin/developer-center#10146
  • Loading branch information
fuleyi committed Aug 27, 2024
1 parent 4893043 commit f0c2561
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lastore1/lastore.go
Original file line number Diff line number Diff line change
Expand Up @@ -446,10 +446,10 @@ func (l *Lastore) createUpdateActions() []NotifyAction {
ac := []NotifyAction{
{
Id: "update",
Name: gettext.Tr("Update Now"),
Name: gettext.Tr("View"),
Callback: func() {
go func() {
err := exec.Command("dde-control-center", "-m", "update", "-p", "Checking").Run()
err := exec.Command("dde-control-center", "-p", "update/checkForUpdates").Run()
if err != nil {
logger.Warningf("createUpdateActions: %v", err)
}
Expand Down

0 comments on commit f0c2561

Please sign in to comment.