Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using slideshow in electron will go wrong #5

Open
yuxiaoyan1205 opened this issue Jun 19, 2017 · 2 comments
Open

Using slideshow in electron will go wrong #5

yuxiaoyan1205 opened this issue Jun 19, 2017 · 2 comments

Comments

@yuxiaoyan1205
Copy link

image

@rse
Copy link
Owner

rse commented Jun 19, 2017

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()?

@wgrhstf
Copy link

wgrhstf commented May 5, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants