Added support for fetching character images from the server

This commit is contained in:
2025-01-14 10:01:48 +01:00
parent 5b640375c3
commit db8214cb02
4 changed files with 50 additions and 3 deletions

View File

@@ -77,7 +77,7 @@ func SyncGames() {
dir = "/Users/sebastian/ResilioSync/Sorterat_test/"
}
fmt.Printf("dir: %s\n", dir)
foldersToSkip := []string{".sync", "dist", "old"}
foldersToSkip := []string{".sync", "dist", "old", "characters"}
fmt.Println(foldersToSkip)
db.SetGameDeletionDate()
checkBrokenSongs()
@@ -107,7 +107,7 @@ func SyncGamesQuick() {
dir = "/Users/sebastian/ResilioSync/Sorterat_test/"
}
fmt.Printf("dir: %s\n", dir)
foldersToSkip := []string{".sync", "dist", "old"}
foldersToSkip := []string{".sync", "dist", "old", "characters"}
fmt.Println(foldersToSkip)
db.SetGameDeletionDate()
checkBrokenSongs()
@@ -273,7 +273,7 @@ func syncGamesNew(full bool) Response {
fmt.Printf("dir: %s\n", musicPath)
repo = repository.New(db.Dbpool)
start := time.Now()
foldersToSkip := []string{".sync", "dist", "old"}
foldersToSkip := []string{".sync", "dist", "old", "characters"}
fmt.Println(foldersToSkip)
var err error