This commit is contained in:
2025-08-17 00:42:12 +02:00
parent 851ff89886
commit 54dcc7d006
3 changed files with 55 additions and 2 deletions

View File

@@ -354,7 +354,7 @@ func (l Service) ApplyCurrent(gameID string) error {
return err
}
return l.apply(path, g.Path)
return l.apply(filepath.Join(path, "data.tar.gz"), g.Path)
}
func (l Service) ApplyBackup(gameID, backupID string) error {
@@ -367,7 +367,7 @@ func (l Service) ApplyBackup(gameID, backupID string) error {
return err
}
return l.apply(path, g.Path)
return l.apply(filepath.Join(path, "data.tar.gz"), g.Path)
}
func (l Service) apply(src, dst string) error {