From 5c8a8326a9d0b5f5558876a7cef3f2f32e9d646b Mon Sep 17 00:00:00 2001 From: marco Date: Fri, 5 Apr 2024 10:51:53 +0200 Subject: [PATCH] single dot (windows test) --- downloader/download.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/downloader/download.go b/downloader/download.go index 8a3a4a7..07268ca 100644 --- a/downloader/download.go +++ b/downloader/download.go @@ -538,7 +538,7 @@ func (d *Downloader) Download(ctx context.Context) (bool, error) { } } - tmpFile, err := os.CreateTemp(destDir, destName+".*.download") + tmpFile, err := os.CreateTemp(destDir, destName+"_*_download") if err != nil { return false, fmt.Errorf("failed to create temporary download file for %s: %w", d.destPath, err) }