fix(windows-client): add proper error handling and pause before exit
Problem: Windows CLI client window closing immediately on error without error messages Changes: 1. Wrapped main in error handler with pause before exit 2. Replaced .unwrap() with proper .context() error handling 3. Added pause on all error paths 4. Error display with colored output before exit 5. Updated ostp-client.exe checksum Now on error: - Error message displayed in red - Press Enter to exit keeps window open - User can read full error details Note: NO GUI - ostp-client.exe is CLI tool Usage: - ostp-client.exe connect --server IP:PORT --psk KEY --country US - ostp-client.exe setup (interactive wizard) SHA256: 5612ae4503467d6d7b51c067f533706bc65b7b7ac41fccc3efaf3eda2576b92a
This commit is contained in:
BIN
dist/windows-x64/ostp-client.exe
vendored
BIN
dist/windows-x64/ostp-client.exe
vendored
Binary file not shown.
Reference in New Issue
Block a user