No new commits yet. Enjoy your day! Electron enables you to create desktop applications with pure JavaScript by providing a runtime with rich native operating system APIs.
You could see it as a variant of the Node. This is an ebook published with GitBook , used and read easily. Free writing, publishing, and build a self publishing platform, click here. Other books: Bitcoin on Nodejs. Contact Sales Try for Free.
File Types. See all Capabilities. Launch Demo. By Industry. React Native. NET Core. Free Trial Support. Download and Install Electron. Set Up Project Structure. Download PDF. Create the Viewer. Implementing with WebViewer. Building for Production.
Article Contributed By :. Easy Normal Medium Hard Expert. Writing code in comment? Please use ide. Load Comments. What's New. Most popular in JavaScript. Most visited in Web Technologies. February 13th: The new fix has been merged and the issue has been closed. Looks like this is going to be resolved in Electron 10!
This should be ready to test out in the next I'm hoping to backport to 9. Keep in mind, however, that only the latest three stable major versions are supported by the Electron team which means 2. X is not receiving security patches anymore. Alternatively you could call on the system to open the file. It will choose the default program assigned to PDFs:.
Just make sure that the path fullPath is always correctly resolved with something like path. Another workaround would be to use something like PDF. Here is a sample implementation which catches the download-event and routes it to the PDF.
How are we doing? Please help us improve Stack Overflow. Take our short survey. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Ask Question. Asked 3 years, 1 month ago. Active 1 year, 1 month ago.
0コメント