File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,9 +9,12 @@ require some configuration to run in the right way.
99
1010This project tries to save time in this process.
1111
12- The installer will install the following libraries & utilities by default:
12+ The installer will install the following libraries by default:
1313
1414+ Java JDK 8 (Only for BrickPi/PiStorms)
15+
16+ If you like, you can install a utility to monitor the battery. (Recommended)
17+
1518+ [ BatteryMonitor] ( https://github.com/ev3dev-lang-java/batteryMonitor ) (A Java utility to monitor the Battery)
1619
1720But it is possible to install the following libraries if your project requires them.
Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ function initInstaller(){
3232
3333MODE_HELP=" help"
3434MODE_JDK=" jdk"
35+ MODE_BATTERY_MONITOR=" batteryMonitor"
3536MODE_COPY_INSTALLER=" copy-installer"
3637MODE_EXTENDED=" extended"
3738
5758
5859runModule platform
5960runModule java
60- runModule battery-monitor
61+
62+ if [ " $1 " == " $MODE_BATTERY_MONITOR " ]; then
63+ runModule battery-monitor
64+ fi
6165
6266if [ " $1 " == " $MODE_EXTENDED " ]; then
6367 runModule native-libraries
Original file line number Diff line number Diff line change 22
33echo " Installer options:"
44echo " sudo ./installer.sh [Execute modules: platform, java & batteryMonitor]"
5+ echo " sudo ./installer.sh batteryMonitor [Install batteryMonitor]"
56echo " sudo ./installer.sh extended [Execute modules: platform, java, batteryMonitor & native-libraries]"
67echo " sudo ./installer.sh jdk robot@192.168.1.206 [Copy your local JRE to a remote brick]"
78echo " sudo ./installer.sh copy-installer robot@192.168.1.206 [Copy the installer to a remote brick]"
You can’t perform that action at this time.
0 commit comments