Skip to content

Fix Linux simulator launch for AppImage files#41

Open
riordant wants to merge 1 commit intowebos-tools:developfrom
riordant:fix-linux-appimage-simulator-detection
Open

Fix Linux simulator launch for AppImage files#41
riordant wants to merge 1 commit intowebos-tools:developfrom
riordant:fix-linux-appimage-simulator-detection

Conversation

@riordant
Copy link
Copy Markdown

@riordant riordant commented May 5, 2026

:Release Notes:
Fix Linux webOS TV Simulator detection and launch when the simulator executable uses the standard .AppImage extension casing.

:Detailed Notes:
On Linux, webOS TV 26 Simulator is distributed as a file named like:

webOS_TV_26_Simulator_1.5.0.AppImage

The existing simulator discovery checks path.extname(filePath) against .appimage case-sensitively, so .AppImage files are ignored.

Additionally, the launch step reconstructs the executable path using a lowercase .appimage extension, which also fails on case-sensitive Linux filesystems.

This change:

  • normalizes the extension check with .toLowerCase()
  • records the actual matched simulator executable path
  • launches the matched executable path instead of reconstructing one with guessed extension casing

:Testing Performed:

  • Installed @webos-tools/cli on Linux using Node 16.
  • Downloaded webOS TV 26 Simulator for Linux.
  • Confirmed that ares-launch -s 26 -sp <simulator-dir> <app-dir> fails before the patch when the simulator file is named .AppImage.
  • Confirmed that simulator detection uses the matched executable path after the patch.

:Issues Addressed:
N/A

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant