Use string for url

This commit is contained in:
2025-01-11 20:19:26 +01:00
parent 0a40ccdc4f
commit 4c816e6309
2 changed files with 16 additions and 21 deletions

View File

@@ -30,9 +30,15 @@ func init() {
//go:embed all:frontend/dist
var assets embed.FS
var settingsFilePath string
var gamePath string
var addonService *AddonService
type Settings struct {
GamePath string `json:"gamePath"`
Addons map[string]*Addon `json:"addons"`
}
func main() {
addonService = NewAddonService()
gamePath = filepath.Join("C:\\", "Games", "WoWRuski")