v1.9.2 - Alohomora Non-RDP Window Launch Fix
Bug Fix: Alohomora Non-RDP Window Launch
Fixed Alohomora remote access to launch in a new window for non-RDP connections (SSH, HTTPS, etc.), matching the behavior of RDP connections.
Bug Fixes
- Alohomora Remote Access - Non-RDP Connections
- Fixed issue where answering 'n' to "Is this an RDP connection?" would launch Alohomora in the current console window (blocking the session)
- Non-RDP connections now launch in a new PowerShell window, identical to RDP connection behavior
- Added helpful connection banner showing browser URL (
https://localhost:<port>) in the new window - Both connection types (RDP and non-RDP) now provide consistent user experience
Code Improvements
- Refactored wrapper script generation - Eliminated code duplication by creating
New-AlohaWrapperScripthelper function - Both RDP and non-RDP paths now use shared wrapper script generation logic
- Cleaner, more maintainable code with proper PowerShell documentation
Technical Details
- Added
New-AlohaWrapperScripthelper function for reusable wrapper script creation - Updated
Start-AlohaConnectionfunction to use helper for both RDP and non-RDP paths - Non-RDP path now uses
Start-Processwith wrapper script (same pattern as RDP path) - Keeps tunnel window open with instructions, prevents accidental disconnection
Config Changes
No Config Changes Required - This release is fully backward compatible.
Full Changelog: v1.9.1...v1.9.2