saltyshiomix / nextron

⚡ Next.js + Electron ⚡
https://npm.im/nextron
MIT License
3.69k stars 215 forks source link

Add Basic js python example #428

Closed bm777 closed 5 months ago

bm777 commented 6 months ago

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:

  1. scripts/runner.sh -> to run python file (The user can also run python directly via the exec child-process)
  2. scripts/main.py -> Python script that the user wants to execute.

Modification

https://github.com/saltyshiomix/nextron/assets/29865600/3cb36121-dd76-44ca-9021-9089fce5165f

bm777 commented 5 months ago

This cannot be merged, because it is not configured as you did for js. @saltyshiomix

saltyshiomix commented 5 months ago

@bm777

Sorry for late reply.

It works fine even if production build!

I'll merge it after some fixes :)

bm777 commented 5 months ago

:)