How to install third-party software with an electron?

How to install third-party software along with installing an electronic application?

My use case is what I want to use ffmpeginside my electronic application, which should take a screen shot of the video. It can be any other software.

Is it possible to pack the application in such a way that the user needs to install only my application. And my application installs ffmpegfor the user without any manual action.

I would like to automate the installation process ffmpegduring the installation of an electronic application on different operating systems, if possible.

+4
source share
3 answers

Just install ffmpegusing extraFiles .

0
source

My application has specific drivers that differ for each platform. In my json package I have:

"extraFiles": [
  {
    "from": "resources/${os}/drivers",
    "to": "resources",
    "filter": [
      "**/*"
    ]
  }
],

This ensures that he gets the right resources for the platform that I am creating and copies them to the embedded application resources. Check documents . Both ${os}and ${arch}are working in these fields.

0
source

inno setup . , exe nodejs . .

youtube .

0

Source: https://habr.com/ru/post/1664568/


All Articles