Open yuxiaoyan1205 opened 7 years ago
Hmmm... I've checked the code: the connector scripts are located relative to the source tree and hence should be found. The ENOENT indicates that the script does not exist. Check whether the "connector-win-ppt2010.bat" really exists on your filesystem. If it does, it seems there is a restriction on Electron. If it does not exist, your installation of slideshow is damaged. If it is a restriction in Electron, we have to figure out what type of restriction it is. Is perhaps the main thread not allowed to use spawn()?
If you pack your electron application as asar it wont work as the paths change and the .bat and .sh files become part of the asar package. You need to extract those files, put them somewhere else and also change the according paths before packaging