From 19623e214d579e21417b9b14e1b4e1f8c39e6d21 Mon Sep 17 00:00:00 2001 From: "a624669980@163.com" Date: Tue, 6 Sep 2022 14:26:25 +0800 Subject: [PATCH] Update system.go --- service/system.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/system.go b/service/system.go index 8717e4c..c6ed444 100644 --- a/service/system.go +++ b/service/system.go @@ -221,7 +221,7 @@ func (s *systemService) UpdateSystemVersion(version string) { } file.CreateFile(config.AppInfo.LogPath + "/upgrade.log") //go command2.OnlyExec("curl -fsSL https://raw.githubusercontent.com/LinkLeong/casaos-alpha/main/update.sh | bash") - go command2.OnlyExec("curl -fsSL https://raw.githubusercontent.com/IceWhaleTech/get/main/update.sh | bash") + go command2.OnlyExec("curl -fsSL https://raw.githubusercontent.com/IceWhaleTech/get/main/update.sh | sudo bash") //s.log.Error(config.AppInfo.ProjectPath + "/shell/tool.sh -r " + version) //s.log.Error(command2.ExecResultStr(config.AppInfo.ProjectPath + "/shell/tool.sh -r " + version)) }