DCC-EX / exInstaller

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Installer improvements

davidcutting42 opened this issue · comments

Installer needs some improvements for the CommandStation-EX v3.1.0 release. Let's discuss the changes that need to be made.

First, I'll let the cat out of the bag. I've been working on an installer in parallel to @dexslab 's installer for about a week now, using Electron (https://www.electronjs.org/). I intended it to be a proof of concept, showing that we can get the size of the installer way down. The current rendition of it is ~80MB, a number I expect will hold steady. The difference with this installer is that the only dependency it has (needs to download) is the Arduino CLI. It doesn't need the .NET core, it doesn't need anything else fancy. It just runs out of the box. You can test it out here: https://github.com/davidcutting42/Installer-EX/releases - windows version only at the moment, but linux and mac versions are very easy to generate too. Fair warning, the source code is a bit messy because it was a hasty first attempt, it needs some rewriting.

So first, we need to decide what the direction forward is. I don't want to throw away all the work @dexslab has done on this, but I think we can do better in terms of download size and only grabbing the dependencies we need. I'm open to all suggestions and all ways forward - just because I wrote my own installer doesn't mean we have to use it.

Second, we need a serial monitor in the installer. I've implemented a basic one in my version of the installer, it doesn't have to be anything complicated.

Other points - @FrightRisk mentioned WiFi support and full cross-platform capability. Not sure what these mean. Please clarify!

commented

What is the status of this project? Are Dex and Mani helping get it ready?

Hi have heavy difficultys on installing on mac os 12 please help

commented

Hello @masterleo For now it would be easier to use the Arduino IDE. Please take a look here: https://dcc-ex.com/ex-commandstation/advanced-setup/installation-options/arduino-ide.html#run-the-arduino-ide

Hi thanks for your kind reply ! I think this is realy in "beta" then :)
We tried the .ino way out, it work very good !!! thanks a lot.
No problem at all via ardunio, serial is already talking on arduino mega, just waiting for the shields to arrive per post now.