Commit e0c15c26 by 陶腾飞

2020/08/26 v1.8.2 解决因消息框未返回而出现的关机停止问题

parent 670e35af
...@@ -65,7 +65,7 @@ UI: ...@@ -65,7 +65,7 @@ UI:
- 2020/08/19 v1.7.0 更新PDF转化工具,优化用户备份 - 2020/08/19 v1.7.0 更新PDF转化工具,优化用户备份
- 2020/08/21 v1.8.0 合并企业微信推送,转型HTTP服务器,增加活动检测,用户备份升级 - 2020/08/21 v1.8.0 合并企业微信推送,转型HTTP服务器,增加活动检测,用户备份升级
- 2020/08/21 v1.8.1 解决无法处理收到的消息问题 - 2020/08/21 v1.8.1 解决无法处理收到的消息问题
- 2020/08/26 v1.8.2 解决因消息框未返回而出现的关机停止问题
## 其他说明 ## 其他说明
...@@ -89,7 +89,9 @@ UI: ...@@ -89,7 +89,9 @@ UI:
if icon, err := NewIconFromFile(name); err == nil { if icon, err := NewIconFromFile(name); err == nil {
``` ```
### 源码编译说明
- 不支持 go module
- 请在GOPATH下 git clone
### 其他问题 ### 其他问题
......
package main package main
import ( import (
pub "AD-Control/public" pub "AD-Control-Golang/public"
"flag" "flag"
) )
......
package main package main
import ( import (
pub "AD-Control/public" pub "AD-Control-Golang/public"
"net/http" "net/http"
) )
......
...@@ -5,7 +5,7 @@ package public ...@@ -5,7 +5,7 @@ package public
const Host_adserver string = "ADSERVER" const Host_adserver string = "ADSERVER"
const ADServerDaemon string = Host_adserver + DaemonListen const ADServerDaemon string = Host_adserver + DaemonListen
const DaemonListen string = ":16823" const DaemonListen string = ":16823"
const Version string = "1.8.1" const Version string = "1.8.2"
const Bak_Version string = "0819" const Bak_Version string = "0819"
var Active bool = true var Active bool = true
......
...@@ -7,7 +7,7 @@ import( ...@@ -7,7 +7,7 @@ import(
"github.com/lxn/walk" "github.com/lxn/walk"
"strings" "strings"
"io/ioutil" "io/ioutil"
registry "github.com/golang/sys/windows/registry" "github.com/golang/sys/windows/registry"
"golang.org/x/text/encoding/simplifiedchinese" "golang.org/x/text/encoding/simplifiedchinese"
) )
...@@ -469,7 +469,7 @@ func Exit(){ ...@@ -469,7 +469,7 @@ func Exit(){
os.Exit(1) os.Exit(1)
} }
func MsgShutdown(msg string){ func MsgShutdown(msg string){
Msg(msg) go Msg(msg)
Execcmd_nowait(Msg_Exec_TurnOffPC_cmd) Execcmd_nowait(Msg_Exec_TurnOffPC_cmd)
PntInfo(Msg_Exec_TurnOffPC_cmd) PntInfo(Msg_Exec_TurnOffPC_cmd)
} }
\ No newline at end of file
...@@ -2,7 +2,7 @@ package public ...@@ -2,7 +2,7 @@ package public
import( import(
"encoding/xml" "encoding/xml"
"net/url" "net/url"
"AD-Control/wxbizmsgcrypt" "AD-Control-Golang/wxbizmsgcrypt"
"fmt" "fmt"
) )
......
...@@ -11,7 +11,7 @@ void getMouse() ...@@ -11,7 +11,7 @@ void getMouse()
import "C" import "C"
import ( import (
"github.com/lxn/walk" "github.com/lxn/walk"
pub "AD-Control/public" pub "AD-Control-Golang/public"
) )
var baseDay,baseHour = pub.GetDateHour() var baseDay,baseHour = pub.GetDateHour()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment