Giter Site home page Giter Site logo

create windows executable about forrest HOT 4 OPEN

stefanjudis avatar stefanjudis commented on July 28, 2024 5
create windows executable

from forrest.

Comments (4)

rowanwins avatar rowanwins commented on July 28, 2024

Gday @stefanjudis

I'd be happy to take a bit of a look at this. I've succesfully compiled an electron app on my windows machine before although using a previous version of electron so I'll take a look at what is involved in the newer versions.
Will keep you posted.

PS Forrest looks like a handy little app, well done!

from forrest.

stefanjudis avatar stefanjudis commented on July 28, 2024

@rowanwins

Thx. :)

Yeah compiling wouldn't be a big issues I think. Shell handling is probably more troublesome as Forrest currently opens terminal sessions in the background and navigates to the given folders.

Let me know, when I can help somehow. :)

from forrest.

rowanwins avatar rowanwins commented on July 28, 2024

Gday @stefanjudis ,

Well as you suspected I've run into an issue with the child_pty module in the sessions.js which is being used for spawning child processes, it appears that this module isn't windows friendly. I've attempted to replace it with a few other modules such as cross-spawn-sync without much joy. Anyway I'll keep digging to see if I can get something going although I'm open to suggestions :)

from forrest.

stefanjudis avatar stefanjudis commented on July 28, 2024

@rowanwins

The thing here is, that just spawning the given command is not enough. This was my first approach, and this worked fine to a given point. But then it I discovered that streams are not a reliable thing here.

http://stackoverflow.com/questions/38643264/order-of-process-stdout-on-data-and-process-stderr-on-data

So the approach has to stay spawning a new shell, I think. But yeah didn't dig much into it more as child_pty did the job for me.

+hyperterm uses it, which is nice for looking for solutions.

But anyway, thanks and good luck. Really appreciated. :)

from forrest.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.