Browse Source

Add files via upload

main 1.3.3
Unbewohnte 3 years ago committed by GitHub
parent
commit
01a842f10c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      settings/settings.go
  2. 4
      settings/structure.go

2
settings/settings.go

@ -56,7 +56,7 @@ func Create() error {
Enabled: false, Enabled: false,
RetrievementPath: "", RetrievementPath: "",
}, },
CreateBlackBGImage: creatingBG{ CreateBlackBGImage: backgroundCreatement{
Enabled: true, Enabled: true,
Width: 1920, Width: 1920,
Height: 1080, Height: 1080,

4
settings/structure.go

@ -14,7 +14,7 @@ type backgroundRetrievement struct {
RetrievementPath string `json:"retrievementPath"` RetrievementPath string `json:"retrievementPath"`
} }
type creatingBG struct { type backgroundCreatement struct {
Enabled bool `json:"enabled"` Enabled bool `json:"enabled"`
Width uint `json:"width"` Width uint `json:"width"`
Height uint `json:"height"` Height uint `json:"height"`
@ -25,6 +25,6 @@ type Settings struct {
OsuDir string `json:"pathToOsu"` OsuDir string `json:"pathToOsu"`
BackgroundReplacement backgroundReplacement `json:"backgroundReplacement"` BackgroundReplacement backgroundReplacement `json:"backgroundReplacement"`
BackgroundRetrievement backgroundRetrievement `json:"backgroundRetrievement"` BackgroundRetrievement backgroundRetrievement `json:"backgroundRetrievement"`
CreateBlackBGImage creatingBG `json:"createBlackBackgoundImage"` CreateBlackBGImage backgroundCreatement `json:"blackBackgroundCreatement"`
Workers int `json:"workers"` Workers int `json:"workers"`
} }

Loading…
Cancel
Save