Use encrypted-*.zip.pcv instead of Encrypted.zip.pcv

So you don't always have to rename or delete an existing volume
This commit is contained in:
Evan Su 2025-04-13 14:33:08 -04:00
parent 16bb70dc97
commit d7a0ee126b
2 changed files with 3 additions and 2 deletions

View file

@ -1040,7 +1040,7 @@ func onDrop(names []string) {
}
// Set the input and output paths
inputFile = filepath.Join(filepath.Dir(names[0]), "Encrypted") + ".zip"
inputFile = filepath.Join(filepath.Dir(names[0]), "encrypted-"+strconv.Itoa(int(time.Now().Unix()))) + ".zip"
outputFile = inputFile + ".pcv"
usingTempZip = true
}