Failed to load Pepper Flash plugin in an Electron app bundled in an AppImage
See original GitHub issue- Version: latest
- Target: Linux (AppImage)
Please consider the following sample project: https://github.com/hokein/electron-sample-apps/tree/master/pepper-flash-plugin
I’ve cloned it, copied Flash plugin to app folder, completed the remaining steps to be able to build it with electron-builder and built it with AppImage target.
However, when I try to run the AppImage, it doesn’t load the plugin. Instead, it renders a message like “Unable to load the plugin”
Here is the output of my ldd libpepflashplayer.so
command:
linux-vdso.so.1 (0x00007ffe073bb000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007fb3837f1000)
librt.so.1 => /lib64/librt.so.1 (0x00007fb3835e9000)
libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007fb383260000)
libm.so.6 => /lib64/libm.so.6 (0x00007fb382f5c000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007fb382d45000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fb382b27000)
libc.so.6 => /lib64/libc.so.6 (0x00007fb382785000)
/lib64/ld-linux-x86-64.so.2 (0x00005640c7d3a000)
Should I include any of these libs as a dependency in my build process?
Related issue in AppImageKit project: https://github.com/probonopd/AppImageKit/issues/206
Issue Analytics
- State:
- Created 7 years ago
- Comments:13 (6 by maintainers)
Top Results From Across the Web
Can't run pepper flash plugin inside my electron app
When I launch the application i see the next error: You must have Adobe Flash Player 11.3.300 or higher installed in your system....
Read more >Using Pepper Flash Plugin · Electron documentation
To use the Pepper Flash plugin in Electron, you should manually specify the location of the Pepper Flash plugin and then enable it...
Read more >Krita Appimage for cats - David Revoy
An Appimage is an application that can run anywhere, ... get the right libraries bundled and everything inside for the best user experience....
Read more >Desktop version - Plop Linux
Install the Pepper Flash Plugin. The Pepper Flash Plugin is part of the Chrome browser. Download Chrome from the official website. Choose the...
Read more >PulseAudio - ArchWiki
PulseEffects — Audio effects for PulseAudio applications. ... level of the daemon to see exactly why a specific module fails to load.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ve got it! The correct path (for Linux) is
${__dirname}/../../
, if installed viaextraFiles
, or${__dirname}/../../resources
, if installed viaextraResources
one.I would like to suggest you to include these details in electron-builder documentation.
It’s not working for me. I have a folder named flash that has my plugins.
"extraResources": "${__dirname}/flash/*",
It doesn’t copy the files. Anyone know why?
Update: I didn’t realize extraResources was for the build section of package.json.