增加打包图标

This commit is contained in:
GYJ 2024-11-09 10:00:48 +08:00
parent 7496cee514
commit d5cd5edd5f
6 changed files with 81 additions and 8 deletions

12
README.md Normal file
View File

@ -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"
```

16
main.go
View File

@ -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",

Binary file not shown.

BIN
winres/sync.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

BIN
winres/sync16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 760 B

61
winres/winres.json Normal file
View File

@ -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": ""
}
}
}
}
}
}