Fix the same bug as window operation.
This commit is contained in:
@@ -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()
|
||||
}()
|
||||
|
||||
Reference in New Issue
Block a user