Skip to content

Commit

Permalink
ci: Add more icons for Windows distributions
Browse files Browse the repository at this point in the history
  • Loading branch information
vvbbnn00 committed Mar 10, 2024
1 parent 28c7f49 commit ad05abe
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ cert
*.exe
*.syso
winres/*
.github
.github
/dist
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ cert
.air.toml
*.exe
winres.json
*.syso
*.syso
/dist
Binary file added winres/icon128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added winres/icon256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added winres/icon32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added winres/icon64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 7 additions & 3 deletions winres/json/gen.go
Original file line number Diff line number Diff line change
@@ -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 (
Expand All @@ -16,15 +16,19 @@ const js = `{
"APP": {
"0000": [
"icon.png",
"icon16.png"
"icon16.png",
"icon32.png",
"icon64.png",
"icon128.png",
"icon256.png"
]
}
},
"RT_MANIFEST": {
"#1": {
"0409": {
"identity": {
"name": "go-cqhttp",
"name": "goflet",
"version": "%s"
},
"description": "",
Expand Down

0 comments on commit ad05abe

Please sign in to comment.