This PR adds a Python example on top of basic-lang-javascript. We identified the need for this feature in response to some user feedback specifically in #427. It is described and commented on.
Files added:
scripts/runner.sh -> to run python file (The user can also run python directly via the exec child-process)
scripts/main.py -> Python script that the user wants to execute.
Modification
added directly the main/ folder into the example folder because of some modification in the basic-js-python/main/background.js file which is different from the _template/js/main/background.js. Just to avoid some mix in the dev.js to manage or orchestrate the creation of the Nextron project via the example command.
Description
This PR adds a Python example on top of basic-lang-javascript. We identified the need for this feature in response to some user feedback specifically in #427. It is described and commented on.
Files added:
scripts/runner.sh
-> to run python file (The user can also run python directly via the exec child-process)scripts/main.py
-> Python script that the user wants to execute.Modification
basic-js-python/main/background.js
file which is different from the_template/js/main/background.js
. Just to avoid some mix in the dev.js to manage or orchestrate the creation of the Nextron project via theexample
command.https://github.com/saltyshiomix/nextron/assets/29865600/3cb36121-dd76-44ca-9021-9089fce5165f