diff --git a/.dockerignore b/.dockerignore index 145bc7e..da1bc13 100644 --- a/.dockerignore +++ b/.dockerignore @@ -8,4 +8,5 @@ cert *.exe *.syso winres/* -.github \ No newline at end of file +.github +/dist \ No newline at end of file diff --git a/.gitignore b/.gitignore index dbcef82..a0d8794 100644 --- a/.gitignore +++ b/.gitignore @@ -7,4 +7,5 @@ cert .air.toml *.exe winres.json -*.syso \ No newline at end of file +*.syso +/dist \ No newline at end of file diff --git a/winres/icon128.png b/winres/icon128.png new file mode 100644 index 0000000..29d7ab4 Binary files /dev/null and b/winres/icon128.png differ diff --git a/winres/icon256.png b/winres/icon256.png new file mode 100644 index 0000000..738d597 Binary files /dev/null and b/winres/icon256.png differ diff --git a/winres/icon32.png b/winres/icon32.png new file mode 100644 index 0000000..87d2901 Binary files /dev/null and b/winres/icon32.png differ diff --git a/winres/icon64.png b/winres/icon64.png new file mode 100644 index 0000000..03a70bb Binary files /dev/null and b/winres/icon64.png differ diff --git a/winres/json/gen.go b/winres/json/gen.go index a128508..e092b99 100644 --- a/winres/json/gen.go +++ b/winres/json/gen.go @@ -1,4 +1,4 @@ -// Package main generates winres.json +// Package main generates winres.json, modified from: https://github.com/Mrs4s/go-cqhttp/blob/master/winres/gen/json.go package main import ( @@ -16,7 +16,11 @@ const js = `{ "APP": { "0000": [ "icon.png", - "icon16.png" + "icon16.png", + "icon32.png", + "icon64.png", + "icon128.png", + "icon256.png" ] } }, @@ -24,7 +28,7 @@ const js = `{ "#1": { "0409": { "identity": { - "name": "go-cqhttp", + "name": "goflet", "version": "%s" }, "description": "",