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

@ -3,11 +3,12 @@
<li>Figure out how to remove use of temporary files completely</li>
</ul>
# v1.48 (Released 04/11/2025)
# v1.48 (Released 04/15/2025)
<ul>
<li>✓ Allow pressing 'Enter' key to press Start/Process button</li>
<li>✓ Encrypt previously unencrypted temporary zip files</li>
<li>✓ Add `.incomplete` to filenames while work is in progress</li>
<li>✓ Use `encrypted-*.zip.pcv` output name instead of `Encrypted.zip.pcv`</li>
</ul>
# v1.47 (Released 02/19/2025)

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
}