From bb86a1503eca2f4d270ff285ceedbf375ecd490d Mon Sep 17 00:00:00 2001 From: Evan Su <48808396+HACKERALERT@users.noreply.github.com> Date: Wed, 11 Aug 2021 13:42:08 -0400 Subject: [PATCH] Start v1.17 --- src/unstable/Picocrypt.go | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/unstable/Picocrypt.go b/src/unstable/Picocrypt.go index a0d5f4f..b332fc1 100644 --- a/src/unstable/Picocrypt.go +++ b/src/unstable/Picocrypt.go @@ -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)