mirror of
https://github.com/Picocrypt/Picocrypt.git
synced 2025-06-28 06:06:13 +02:00
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:
parent
16bb70dc97
commit
d7a0ee126b
2 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue