Version v0.3.47 - -m Fix directory decryption - skip pause for temp files to allow extraction to continue
This commit is contained in:
@@ -1133,8 +1133,11 @@ int decrypt_binary_file(FILE* input_fp, const char* output_file) {
|
||||
printf("File decrypted successfully: %s\n", output_file);
|
||||
printf("Restored permissions and metadata\n");
|
||||
|
||||
// Pause before returning to menu to let user see the success message
|
||||
print_centered_header("File Decryption Complete", 1);
|
||||
// Only pause if output is not a temporary file (directory decryption uses /tmp/)
|
||||
if (strncmp(output_file, "/tmp/", 5) != 0) {
|
||||
// Pause before returning to menu to let user see the success message
|
||||
print_centered_header("File Decryption Complete", 1);
|
||||
}
|
||||
|
||||
// Cleanup
|
||||
free(encrypted_data);
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
#include <ctype.h>
|
||||
|
||||
// Version - Updated automatically by build.sh
|
||||
#define OTP_VERSION "v0.3.45"
|
||||
#define OTP_VERSION "v0.3.46"
|
||||
|
||||
// Constants
|
||||
#define MAX_INPUT_SIZE 4096
|
||||
|
||||
Reference in New Issue
Block a user