-
Notifications
You must be signed in to change notification settings - Fork 342
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What is the role of the Deco binary? #4
Comments
Ah! It is a very poorly named file. This is essentially a cocoascripted cocoa app that is used to run scripts with sudo access. See |
Would be awesome if you get it working. I have looked at https://www.npmjs.com/package/electron-sudo before, might be the right way to go for running the postinstall again after an upgrade. |
Hmm. Seems like we'd be better off avoiding the need for I'm guessing this is mainly a requirement in OS X when modifying signed/system executables or something to that effect, yes? |
I was just working toward the same goal and hit the same roadblock. Hope one of us gets somewhere! |
@namuol we install some things into the system path (watchman, node, etc) — those generally require sudo. You never know if someone has certain folder permissions set strangely as well, so it avoids the installer failing in those edge cases. Open to finding ways around sudo; I agree it is an annoyance. |
There could be a path to install deco with It's probably safe to assume most React developers have node installed. :) |
True, however, we have seen interest from designers and some other non-dev types. Perhaps we could include in the installer an optional "Environment Setup" step? Since Developers like to have more transparency into their environment and everyone else doesn't really want to deal with that stuff. |
Hmm. Taking a step back: Why do watchman and node need to be system executables in the first place? Couldn't they just be bundled with Deco and run from its own installation location? i.e. This would also have the benefit of ensuring the exact expected versions are being used to prevent environment inconsistencies. |
Yeah, it's worth revisiting the install process entirely. Moving the discussion here #16 |
What's the role of the
Deco
binary? Is the source for it available?Full disclosure: I'm attempting to run Deco in Linux.![:neckbeard: :neckbeard:](https://github.githubassets.com/images/icons/emoji/neckbeard.png)
The text was updated successfully, but these errors were encountered: