Start v1.17

This commit is contained in:
Evan Su 2021-08-11 13:42:08 -04:00 committed by GitHub
parent 2836e1f401
commit bb86a1503e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 3 deletions

View File

@ -2,7 +2,7 @@ package main
/*
Picocrypt v1.16
Picocrypt v1.17
Copyright (c) Evan Su (https://evansu.cc)
Released under a GNU GPL v3 License
https://github.com/HACKERALERT/Picocrypt
@ -70,7 +70,7 @@ import (
)
var version = "v1.16"
var version = "v1.17"
//go:embed NotoSans-Regular.ttf
var font []byte
@ -804,7 +804,12 @@ func onDrop(names []string){
}
// 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
tmp := make([]byte,30)