Hacker News new | ask | show | jobs
by kobrad 3073 days ago
This thing is a nightmare to install and uninstall. The installer is 170 megs and downloads god knows what, there is no uninstall, and when you try to do it manually you see it spawned three or four processes without letting you know. This is incredibly amazingly malware like if you ask me
2 comments

The installer is 170mb after unpacking - it is just an electron app (for providing you GUI) connected to our installation manager. The command line installation managar is very lightweight (around 2mb) - we will provide it as an alternative to the graphical one. We will try to make the electron app smaller. The installer downloads Luna Studio - The graphical environment and Luna compiler and installs it on your computer (according to our docs: https://luna-lang.gitbooks.io/docs/content/installation.html). If you want to uninstall it at the moment, just delete the ~/.luna folder - that's it. We will provide option for it in the next installer releases. What spawned processes are you talking about? We spawn processes for our typechecker and other services (like undo-redo manager), but they should be killed if you exit Luna ... until you are on Windows. When you are on Windows the processes are registered globally in order not to ask for root password everytime you start Luna Studio. We would love to chat with you about how can we improve it, Windows support needs the biggest love right now.
Have you considered using NSIS or Inno Setup to create the installer instead?

https://sourceforge.net/projects/nsis/

http://www.innosetup.com/isinfo.php

We didn't have thought that Electron have such big size overhead when choosing it. In fact we just wrongly assumed that it will be lightweight. We will make the installer lightweight in the future, however there are much more important tasks on our todo list now, so we will do it slowly. We provide very light command line installers as well, so you can use it instead as you wish. Regarding these libraries, we want the installer to evolve into bigger app in the future - allowing you to install many Luna versions side by side, uninstall them or switch the current version. Moreover, we wanted to provide unified experience across platforms. It seems that something like QtQuick will be better suit here, but I haven't investigated it good enough yet to be sure it is the best choice.
$ du -sh .luna/

671M .luna/

Pretty browseable directory, to be fair. But yeah, would be nice with some more clear indication of where the installation is going, from the installer. Now I found the location in this thread.

Samuell, please note that we are shipping Luna together with Atom.io app. Look at `.luna/config/luna-studio/1.0/atom/packages/luna-studio/lib`. The main Luna Studio lib is around 35mb on my computer. There is also a compiler and some small plugins. Everything else are npm's node_modules and Atoms ecosystem. We will distribute Luna Studio without Atom in the future, then it will be super-lightweight.

Does it make sense to you?

IC, thanks for the clarification!