fix goreleaser for v2

This commit is contained in:
William Gill
2025-10-05 22:13:51 +00:00
parent 1bd07883c2
commit ac45bcd4d3
6 changed files with 237 additions and 44 deletions

View File

@@ -23,7 +23,7 @@ func CaptureImage() bool {
}
timestamp := time.Now()
filename := timestamp.Format("axis-2006-01-02_15-04-05.jpg")
filename := timestamp.Format("/axis-2006-01-02_15-04-05.jpg")
err1 := os.WriteFile(config.StoragePath+filename, body, 0644)
if err1 != nil {
log.Fatal().Err(err1).Msgf("")