diff --git a/README.md b/README.md new file mode 100644 index 0000000..caa0b7e --- /dev/null +++ b/README.md @@ -0,0 +1,12 @@ +1. 参考地址 +> https://www.cnblogs.com/biltong/p/18269684 + +2. 在winres文件夹所在目录下执行命令 +```shell +go-winres make +``` + +3. 编译程序 +```shell +go build -ldflags "-w -s" +``` \ No newline at end of file diff --git a/main.go b/main.go index 3ffa4d6..4d33346 100644 --- a/main.go +++ b/main.go @@ -30,37 +30,37 @@ type ( var ( lastIp = "" groupRoleList = []*GroupRole{ - &GroupRole{ + { Desc: "收银系统正式-宝塔", GroupId: "sg-bp1csfr2wcn7ujwoabkk", RuleId: "sgr-bp1adiq57mnoe3asdpoh", }, - &GroupRole{ + { Desc: "收银系统正式-22", GroupId: "sg-bp1csfr2wcn7ujwoabkk", RuleId: "sgr-bp10yy3lg5lw9g6qhv8o", }, - &GroupRole{ + { Desc: "支付系统-22", GroupId: "sg-bp1hnd3bgw6jq8kmn1ju", RuleId: "sgr-bp1dwhn7mi8mlf60xcgo", }, - &GroupRole{ - Desc: "支付系统-支付宝他", + { + Desc: "支付系统-支付宝塔", GroupId: "sg-bp1hnd3bgw6jq8kmn1ju", RuleId: "sgr-bp1653xk85wnusza1nvh", }, - &GroupRole{ + { Desc: "支付系统-预发布宝塔", GroupId: "sg-bp1hnd3bgw6jq8kmn1ju", RuleId: "sgr-bp1idleb69yzsb69yluz", }, - &GroupRole{ + { Desc: "支付系统-预发布宝塔", GroupId: "sg-bp1hnd3bgw6jq8kmn1ju", RuleId: "sgr-bp1idleb69yzsb69yluz", }, - &GroupRole{ + { Desc: "银收客-22", GroupId: "sg-bp1hnylmydz8bi7gqtgj", RuleId: "sgr-bp1flbqxvwq6f7ffu2qm", diff --git a/syncIp.exe b/syncIp.exe deleted file mode 100755 index e490e6d..0000000 Binary files a/syncIp.exe and /dev/null differ diff --git a/winres/sync.png b/winres/sync.png new file mode 100644 index 0000000..1bdcff2 Binary files /dev/null and b/winres/sync.png differ diff --git a/winres/sync16.png b/winres/sync16.png new file mode 100644 index 0000000..7379d81 Binary files /dev/null and b/winres/sync16.png differ diff --git a/winres/winres.json b/winres/winres.json new file mode 100644 index 0000000..fbe3b37 --- /dev/null +++ b/winres/winres.json @@ -0,0 +1,61 @@ +{ + "RT_GROUP_ICON": { + "APP": { + "0000": [ + "sync.png", + "sync16.png" + ] + } + }, + "RT_MANIFEST": { + "#1": { + "0409": { + "identity": { + "name": "超掌柜同步阿里IP", + "version": "1.0.0" + }, + "description": "", + "minimum-os": "win7", + "execution-level": "as invoker", + "ui-access": false, + "auto-elevate": false, + "dpi-awareness": "system", + "disable-theming": false, + "disable-window-filtering": false, + "high-resolution-scrolling-aware": false, + "ultra-high-resolution-scrolling-aware": false, + "long-path-aware": false, + "printer-driver-isolation": false, + "gdi-scaling": false, + "segment-heap": false, + "use-common-controls-v6": false + } + } + }, + "RT_VERSION": { + "#1": { + "0000": { + "fixed": { + "file_version": "0.0.0.0", + "product_version": "0.0.0.0" + }, + "info": { + "0409": { + "Comments": "", + "CompanyName": "", + "FileDescription": "", + "FileVersion": "", + "InternalName": "", + "LegalCopyright": "", + "LegalTrademarks": "", + "OriginalFilename": "", + "PrivateBuild": "", + "ProductName": "", + "ProductVersion": "", + "SpecialBuild": "" + } + } + } + } + } +} \ No newline at end of file