i build an electron's app ,which use nodejs to exec cli when in debugger, it execs some commands like cp , open ,and even "code" ,all of them are ok // code is cli which can open vscode's projects when i use electron-packager . to package this app and run it ,it shows can not find code command . i think it maybe a problem from electron ..
my env is : 1.mac 2.electron v13.1.6 3.v12.18.0
Thanks a lot!