dsh-open-gui-fix: Fix DSH "Open in VS Code" Failing to Open Popup Window
When the DSH host carries ELECTRON_RUN_AS_NODE=1, detached launches such as "Open in VS Code" cause Electron apps to run in Node mode without rendering a window. dsh-open-gui-fix, maintained by ailawu0409, strips this variable only from a shallow copy of the environment used for detached GUI launches, without modifying process.env or affecting non-detached spawns. This article covers local bundle installation (cloning the directory + plugin_manager install_bundle), enabling the "External App Open Fix" in Plugins, running doctor and test commands, and known limitations (terminal `code .`, fork scenarios not covered). Based on the GitHub README and package.json 1.0.1, and verified on DSH 0.2.2-rc.3 (Windows).
Read More