We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1e1a45 commit 0a1ed30Copy full SHA for 0a1ed30
main.go
@@ -17,6 +17,7 @@ import (
17
// Declarations
18
const imgIcon = "icon.png"
19
const imgSplash = "splash.png"
20
+const splashPath = string(os.PathSeparator) + "splash" + string(os.PathSeparator)
21
22
func main() {
23
//Defining Version
@@ -78,7 +79,7 @@ func GenerateResources(pngs []string) {
78
79
for _, p := range pngs {
80
width, height := GetImageDimension(p)
81
src := LoadImage(imgIcon)
- if strings.Contains(p, "\\splash\\") {
82
+ if strings.Contains(p, splashPath) {
83
src = LoadImage(imgSplash)
84
}
85
filters := map[string]gift.Filter{
0 commit comments