| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
This reverts commit b32b4ed. We are reverting this because we found out that while this fixes the postinstall on Windows, it breaks it on mac and other devices. See: #3874 (comment)
Codecov Report
@@ Coverage Diff @@
## main #4231 +/- ##
=======================================
Coverage 65.09% 65.09%
=======================================
Files 36 36
Lines 1882 1882
Branches 380 380
=======================================
Hits 1225 1225
Misses 559 559
Partials 98 98 Continue to review full report at Codecov.
|
Sorry, something went wrong.
|
✨ Coder.com for PR #4231 deployed! It will be updated on every commit.
|
Sorry, something went wrong.
|
has this been tested on mac / windows / linux? if not happy to jump in and do so :) |
Sorry, something went wrong.
Thanks for offering Ben! Sadly, @code-asher came to the realize that this is not easily tested (at least with the way code-server is packaged up for Homebrew). We know sh works on mac + Linux so no issues there and we assume it should be fine on Windows. I think if it uses WSL then I assume sh exists and it should work. I think we'll have to merge and then have the community test and report any issues. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Summary
This reverts commit b32b4ed.
We are reverting this because we found out that while this fixes the postinstall
on Windows, it breaks it on mac and other devices.
See: #3874 (comment)
Additional Context
This change came in #4116 came from @MaxLOh with the goal of:
While that fixed the postinstall issue on Windows, it broke it for anyone installing with Homebrew since our formula does not depend on bash. Instead of modifying the formula, we are opting for reverting b32b4ed and using sh instead.
Our reasoning is that if someone on Windows has bash, surely they have sh as well.
Note: we don't know how @MaxLOh was actually installing code-server so we don't have an exact way to test for their situation but this should work. I had also proposed doing this:
but that assumes the person has command installed Windows which may or may not be the case.
We think we should also try to add some tests for this, which we may do in a follow-up PR.
Todos
Fixes #3874
Fixes #4209