Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
AD-Control-Golang
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
陶腾飞
AD-Control-Golang
Commits
e0c15c26
Commit
e0c15c26
authored
Aug 26, 2020
by
陶腾飞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2020/08/26 v1.8.2 解决因消息框未返回而出现的关机停止问题
parent
670e35af
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
12 additions
and
9 deletions
+12
-9
README.MD
+4
-2
adct/adct.go
+1
-1
daemon/daemon.go
+1
-1
public/env.go
+1
-1
public/win.go
+3
-2
public/wxmsg.go
+1
-1
users/users.go
+1
-1
No files found.
README.MD
View file @
e0c15c26
...
@@ -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
### 其他问题
### 其他问题
...
...
adct/adct.go
View file @
e0c15c26
package
main
package
main
import
(
import
(
pub
"AD-Control/public"
pub
"AD-Control
-Golang
/public"
"flag"
"flag"
)
)
...
...
daemon/daemon.go
View file @
e0c15c26
package
main
package
main
import
(
import
(
pub
"AD-Control/public"
pub
"AD-Control
-Golang
/public"
"net/http"
"net/http"
)
)
...
...
public/env.go
View file @
e0c15c26
...
@@ -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
...
...
public/win.go
View file @
e0c15c26
...
@@ -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
public/wxmsg.go
View file @
e0c15c26
...
@@ -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"
)
)
...
...
users/users.go
View file @
e0c15c26
...
@@ -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
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment