[search-in-workspace] Workspace search does not work in Electron with asar packaging #7528
Labels
electron
issues related to the electron target
electron-build
issues related to building electron
help wanted
issues meant to be picked up, require help
search in workspace
issues related to the search-in-workspace
Description
Workspace search does not work in Electron with asar packaging enabled because
rg
cannot be spawned. The following message is shown when launching the Electron executable via a console:In the above path,
app.asar
should be replaced withapp.asar.unpacked
, as binaries cannot be in the asar file and have to be unpacked instead in order to be executable. However, therg
path (created here and used here) does not take this into account.See also electron/electron#6262 for a general discussion about this issue.
Reproduction Steps
OS and Theia version: Windows 10 1803, Theia 0.16.1.
Diagnostics: See above.
The text was updated successfully, but these errors were encountered: