Once Go port is done, build new installers
Note: is the idea in #1563 (closed because it refers to the current installers, not the new ones) still relevant for this?
#1563 was obsoleted by adding an open download using domain fronting.
We should talk about this new bug before implementing-i actually think that the binary itself should do almost all setup work itself. On Windows we can have an installer to put it in the right place and add a shortcut, but on Mac we should just use the convention of a DMG from which you drag the app to your app folder. Details aside, my main requirement is that we have as little logic as possible in the installer.
Yeah agreed. The dmg drag and drop still qualifies as an "installer" though, and the challenge will be kicking off anything that requires admin, like the network config or tweaking launchd (depending on how we do it), from just the app bundle.
On Thursday, September 4, 2014, oxtoacart [email protected] wrote:
#1563 https://github.com/getlantern/lantern/issues/1563 was obsoleted by adding an open download using domain fronting.
We should talk about this new bug before implementing-i actually think that the binary itself should do almost all setup work itself. On Windows we can have an installer to put it in the right place and add a shortcut, but on Mac we should just use the convention of a DMG from which you drag the app to your app folder. Details aside, my main requirement is that we have as little logic as possible in the installer.
— Reply to this email directly or view it on GitHub https://github.com/getlantern/lantern/issues/1782#issuecomment-54555819.
Adam pgp A998 2B6E EF1C 373E 723F A813 045D A255 901A FD89
You can call the dmg drag and drop an "installer" if you want, but to my knowledge there's no code that runs at the time of drag and drop, the user is literally just moving the app bundle from a disk image into another folder, so really it's just a disk image.
Doing stuff that requires admin privileges would be analogous to today, but instead of having an installer program request elevated privileges to do its thing, we would just have the lantern program do this when first run.
As a side note, it would be really awesome if we could get Lantern to the point where no one ever needs to elevate privileges to run it.
Eric requested we add the option not add a shortcut -- just a checkbox at the end should do it.
A related user request (from the ticket I just referenced):
"It does come with an installer, suggesting that it puts files somewhere else besides /Application/Lantern.app - but the download package does not contain an uninstaller. (All this is on a mac).
Please fix. Either get rid of the installer to make it clear to users that there are no files besides the application package or provide an uninstaller."
Another related user request:
"Can Lantern use the more conventional drag-and-drop installation for OSX?"
Sounds like a good idea to me; it has indeed become quite the standard convention. :)