1
0
Fork 0
mirror of https://github.com/HACKERALERT/Picocrypt.git synced 2025-01-01 12:22:25 +00:00
This commit is contained in:
Evan Su 2021-08-11 13:41:33 -04:00 committed by GitHub
parent 16ae9864a7
commit 2836e1f401
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -804,7 +804,12 @@ func onDrop(names []string){
} }
// Open input file in read-only mode // Open input file in read-only mode
fin,_ := os.Open(names[0]+".pcv.0") var fin *os.File
if isSplit{
fin,_ = os.Open(names[0]+".pcv.0")
}else{
fin,_ = os.Open(names[0])
}
// Use regex to test if input is a valid Picocrypt volume // Use regex to test if input is a valid Picocrypt volume
tmp := make([]byte,30) tmp := make([]byte,30)