File indexing completed on 2024-11-10 05:11:10

0001 if [ ! -d ~/mycroft-core ] ; then
0002    cd ~
0003    git clone https://github.com/mycroftai/mycroft-core.git
0004    cd mycroft-core
0005    echo "Installing, answer: N, Y, N, Y   :)"
0006    bash ./dev_setup.sh
0007 
0008    git clone https://github.com/mycroftai/skill-date-time.git mycroft-date-time.mycroftai
0009    cd mycroft-date-time.mycroftai
0010    git checkout feature/mark-2
0011 
0012    git clone https://github.com/mycroftai/skill-weather.git mycroft-weather.mycroftai
0013    cd mycroft-weather.mycroftai
0014    git checkout feature/mark-2
0015 
0016    if [ ! -d skill-mark-2 ] ; then
0017       git clone https://github.com/mycroftai/skill-mark-2.git
0018    fi
0019 fi
0020 
0021 if [ -s /usr/bin/mycroft-gui-core-loader ] ; then
0022    # Wipe out the loader, not needed when running Mycroft this way
0023    echo "Removing gui-core-loader"
0024    sudo rm /usr/bin/mycroft-gui-core-loader
0025    sudo touch /usr/bin/mycroft-gui-core-loader
0026 fi
0027 
0028 echo "Launching Mycroft Core"
0029 cd ~/mycroft-core
0030 ./start-mycroft.sh all
0031 ./start-mycroft.sh enclosure
0032 sleep 5
0033 
0034 echo "Launching GUI"
0035 mycroft-gui-app --autoconnect
0036