Comments (7)
Can you say more about how this sets the PATH? Part of why we use /usr/local/bin/ right now is that we do not want to assume any particular kind of terminal. Is this approach going to work on every Mac regardless of terminal? If so, that seems good :)
After that, I think everything you say makes sense. I don't think we can do this for 0.13, but I do think this would be much nicer :)
from elm-platform.
So I think I am on board for this. I don't think it'll complicate the installer code very much, and it seems like a nice improvement for users. Are you thinking of working on it?
from elm-platform.
OS X is notoriously convoluted and broken when it comes to setting PATH, but /etc/paths.d/ seems to be the most universal and forward thinking. All shells and terminals will pick it up.
You did the right thing and made the installer using the pkg utils and plain text. I could never figure that out. I used the Packages GUI app which isnโt git friendly. Everything I proposed should be an easy addition, but I assume that included the Uninstaller as an second package will require some new variables and fiddling around.
Iโll try poking around and see if I can figure it out, but no promises.
Ahh. As a formality (on a broken-anyway-so-not-like-it-matters system):
The uninstall script (running as a postinstall for the uninstall sub-package) should have (the elm version of):
/usr/sbin/pkgutil --forget org.nimrod-lang.pkg.Nimrod
And the the postinstall script for the, uhm, installer, should have:
/usr/sbin/pkgutil --forget org.nimrod-lang.pkg.Nimrod.Uninstall=
from elm-platform.
Did you use package maker (from Apple) to create the installer? Is this directory meant to be open and edited from within the app?
from elm-platform.
Let's open a new issue to sort out anything that still needs sorting.
from elm-platform.
Oh, I just read through everything. I don't really know if this should be open or closed.
Everything you describe here makes sense to me, but I definitely don't have bandwidth to work on this myself. All the resources that are part of the mac installer are created by hand in some way or another. Whenever there's a change needed, I do it by hand.
from elm-platform.
Alright, I gotta close. Not sure what the correct path forward is, and it's better to close issues when that's the case.
from elm-platform.
Related Issues (20)
- install.elm-lang.org SSL certificate problem. HOT 2
- Corporate users cannot access dl.bintray.com HOT 1
- Switch from Bintray to GitHub releases for hosting npm binaries HOT 2
- Meta: npm installer improvements HOT 1
- Help users fix npm permissions issues HOT 2
- add `elm new` for improved onboarding experience HOT 3
- npm installer fails on proxy and certificates HOT 5
- elm command not found HOT 2
- Can dependencies of the npm installer be smaller? HOT 1
- Global Elm install on Ubuntu 16.04 LTS failing HOT 2
- Fail of npm install -g elm on linux systems. HOT 7
- can version 1.4.1 be deprecated? HOT 1
- npm installer index.js root variable is hard-coded
- Dependency on Hoek 2.6.3 (Vulnerable) HOT 4
- npm install fails with "read ECONNRESET" with configured corporate proxy HOT 1
- 'elm --help' output could be improved HOT 1
- npm install fails on Ubuntu 16.04 HOT 1
- GHC 7.10 does not work anymore HOT 1
- Build fails on basement-0.0.8 HOT 1
- Cabal needs more backjumps in BuildFromSource.hs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elm-platform.