electron packging

,
9 Replies
NIMA
NIMAOP5mo ago
hello i am bulid something in electron and i serch every where but there is not any way to make to exe it say in website npm install --save-dev @electron-forge/cli but nothing gonna happen anyone know how fix it
Jochem
Jochem5mo ago
This is not a frontend question, but a #os-and-tools one. Build instructions are available in the Electron documentation though: https://www.electronjs.org/docs/latest/tutorial/application-distribution
Application Packaging | Electron
To distribute your app with Electron, you need to package and rebrand it. To do this, you can either use specialized tooling or manual approaches.
Jochem
Jochem5mo ago
alternatively, if you're using electron-forge, https://www.electronforge.io/#building-distributables
Getting Started | Electron Forge
Quickly scaffold an Electron project with a full build pipeline
Jochem
Jochem5mo ago
but you'll have to follow the instructions for whatever tooling you're deciding to use carefully. There's going to be multiple steps for any build process
NIMA
NIMAOP5mo ago
ops sorry for wrong topic
NIMA
NIMAOP5mo ago
is thath normal it take so long ? https://s8.uupload.ir/files/long_fst1.png
Jochem
Jochem5mo ago
building can be slow, yeah it's something you only need to do when you release your application to the public though, you can just use the dev mode to develop things (I assume, I've never used electron, just tauri)
NIMA
NIMAOP5mo ago
after 2 hours i finily make it and its now exe
Want results from more Discord servers?
Add your server