Version v0.3.50 - Fixing browsing behavior

This commit is contained in:
2026-01-28 06:54:57 -04:00
parent d8e65b1799
commit dce0a74945
4 changed files with 7 additions and 7 deletions

View File

@@ -59,14 +59,14 @@ One-time pads can be trivially encrypted and decrypted using pencil and paper, m
### Download Pre-Built Binaries
**[Download Current Linux x86](https://git.laantungir.net/laantungir/otp/releases/download/v0.3.48/otp-v0.3.48-linux-x86_64)**
**[Download Current Linux x86](https://git.laantungir.net/laantungir/otp/releases/download/v0.3.49/otp-v0.3.49-linux-x86_64)**
**[Download Current Raspberry Pi 64](https://git.laantungir.net/laantungir/otp/releases/download/v0.3.48/otp-v0.3.48-linux-arm64)**
**[Download Current Raspberry Pi 64](https://git.laantungir.net/laantungir/otp/releases/download/v0.3.49/otp-v0.3.49-linux-arm64)**
After downloading:
```bash
# Rename for convenience, then make executable
mv otp-v0.3.48-linux-x86_64 otp
mv otp-v0.3.49-linux-x86_64 otp
chmod +x otp
# Run it

1
otp
View File

@@ -1 +0,0 @@
./build/otp-x86_64

View File

@@ -23,7 +23,7 @@
#include <ctype.h>
// Version - Updated automatically by build.sh
#define OTP_VERSION "v0.3.48"
#define OTP_VERSION "v0.3.49"
// Constants
#define MAX_INPUT_SIZE 4096

View File

@@ -394,8 +394,9 @@ int handle_decrypt_menu(void) {
// Empty input - launch file manager to browse for files
char selected_file[512];
if (launch_file_manager(get_files_directory(), selected_file, sizeof(selected_file)) != 0) {
printf("Error: Could not launch file manager\n");
return 1;
printf("File browsing cancelled or failed.\n");
printf("Returning to main menu...\n");
return 0;
}
// Generate smart default output filename with files directory and use enhanced input function