Fix the same bug as window operation.

This commit is contained in:
2026-06-22 23:07:06 +08:00
parent a4b350d2e3
commit b9e3fee984
5 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -70,14 +70,14 @@ func onReady() {
// 访问 Gitea → 浏览器打开 SASWE 代码托管
go func() {
<-mVisitGitea.ClickedCh
for range mVisitGitea.ClickedCh{
log.Info().Msg("用户点击访问 Gitea")
exec.Command("cmd", "/c", "start", "http://103.217.186.98:3000/").Start()
exec.Command("cmd", "/c", "start", "http://103.217.186.98:3000/").Start()}
}()
// 访问 Cloudreve → 浏览器打开 SASWE 文件分发
go func() {
<-mVisitCloudreve.ClickedCh
for range mVisitCloudreve.ClickedCh{
log.Info().Msg("用户点击访问 Cloudreve")
exec.Command("cmd", "/c", "start", "http://103.217.186.98:5212/").Start()
}()