DEV Community

Discussion on: Electron Apps Made Easy with Create React App and Electron Forge

Collapse
 
celludriel profile image
Kenny De Smedt • Edited

Well written article helped me with the setup however I still had to do:

npm i -D @electron-forge/maker-squirrel
npm i -D @electron-forge/maker-zip
npm i -D @electron-forge/maker-deb
npm i -D @electron-forge/maker-rpm

Then I ran into other problems, like the file folder was to long and such. I had to fix it by adding

// ....
  "config": {
    "forge": {
      "packagerConfig": {
        "asar": true
      },
// ....
Enter fullscreen mode Exit fullscreen mode

Another thing with this setup although it works the electron app is 300mb .... this is a lot there are probably ways on making it smaller, this could be part of this article or a new one maybe ?