Giter Club home page Giter Club logo

Comments (10)

unrooted avatar unrooted commented on June 4, 2024 2

Okay, I see. Still, thanks for your PR @scadu!
We basically have to do some code cleaning up soon... we will do it with the next release (while also adding other features, stay tuned).

from easywsl.

scadu avatar scadu commented on June 4, 2024 2

@mikenelson-io Indeed, it's a correct file. I'll provide a fix in another PR.

from easywsl.

unrooted avatar unrooted commented on June 4, 2024 1

@scadu hi, sorry for the late reply.
I've just added build instructions to README in 1aa5825

from easywsl.

mikenelson-io avatar mikenelson-io commented on June 4, 2024

This is still an issue. The new post-install.sh file is also erroring.
ArchLinux:
image

from easywsl.

scadu avatar scadu commented on June 4, 2024

Looks like there's another post-install.sh in the Release directory which as I can see was generated during the build process, committed to the repository, and you actually use the version from the last build.
I guess it's time to think about a CI/CD pipeline 😄.
cc @unrooted

from easywsl.

mikenelson-io avatar mikenelson-io commented on June 4, 2024

I copy/pasted the raw content of the post-install.sh that is located in the root of easyWSL/easyWSL/. That was the one recently modified. It has the addition of #!/usr/bin/env sh in line 1. Is that not the correct file?

from easywsl.

scadu avatar scadu commented on June 4, 2024

@mikenelson-io I checked the script once again, and it works correctly. For some reason, I ignored that you copied the script focusing on the mysterious No such file or directory for /usr/bin/env.
While copying, line endings have changed from LF (*nix) to CRLF (Windows) resulting in a file that's not interpreted correctly by the *nix shell. If you copy the script and save the file with the LF line endings, it should be better (VS Code, Notepad++ provides an option to change the file line endings easily).

from easywsl.

mikenelson-io avatar mikenelson-io commented on June 4, 2024

I just slapped myself for not seeing that 🤦
It does indeed work with LF. Thank you for clarifying!

from easywsl.

unrooted avatar unrooted commented on June 4, 2024

Thanks, @scadu, for helping us with the post install script. We've cleaned up the project and the corrected the line endings too. You can build the master branch and see if it works as intended. We are planning to make a new release soon, but before that we want to test everything pretty extensively.
If that's doable, can you please guys check whether it works right now, after the latest update when you build from the source code yourselves?

from easywsl.

scadu avatar scadu commented on June 4, 2024

@unrooted Is it possible to add a build procedure to the readme? I wouldn't like to guess trying to work out a correct setup.

from easywsl.

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.