-
I have the following folder structure I was wondering how can I deploy this into an electron app installer all together can somebody please tell me what are the steps necessary to make this happen? Important note: The API works in local machine doesn't need to be online. @bennymeg Your help will be greatly appreciated |
Beta Was this translation helpful? Give feedback.
Answered by
bennymeg
Oct 6, 2022
Replies: 1 comment 13 replies
-
|
Beta Was this translation helpful? Give feedback.
13 replies
Answer selected by
daiky00
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
additionalEntryPoints
entry to your api folder so it will be compiled alongside your electron & web apps.child_process.spawn
(or any other method you prefer) to spawn a new node process with your api, using a relative path to the main.js from your electron app (note that the relative paths between your apps in the app folder should be the same as your relative paths to the builds in the dist folder).extraFiles
entry to account for copying over the directory with your compiled api into the final bu…