Hacker News new | ask | show | jobs
by wdanilo 3073 days ago
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.
1 comments

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.