Skip to content

v1.9.2 - Alohomora Non-RDP Window Launch Fix

Choose a tag to compare

@Gronsten Gronsten released this 19 Nov 23:22
· 32 commits to main since this release
616e2f9

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-AlohaWrapperScript helper 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-AlohaWrapperScript helper function for reusable wrapper script creation
  • Updated Start-AlohaConnection function to use helper for both RDP and non-RDP paths
  • Non-RDP path now uses Start-Process with 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