flathub/com.visualstudio.code

Copy from `$EXTRA_PATHS` into `$PATHS` to allow user defined paths

Opened this issue · 1 comments

da2ce7 commented

https://github.com/flathub/com.visualstudio.code/blob/master/code.sh#L67C1-L67C83

Replace:

exec env ELECTRON_RUN_AS_NODE=1 PATH="${PATH}:${XDG_DATA_HOME}/node_modules/bin" \

With:

exec env ELECTRON_RUN_AS_NODE=1 PATH="${PATH}:$EXTRA_PATHS:${XDG_DATA_HOME}/node_modules/bin" \

jcleng commented

yes i need this.