Update prototype.sh

This commit is contained in:
Ace 2018-10-16 22:55:24 +02:00 committed by GitHub
parent 320521e5e4
commit 413ba4f068
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -50,6 +50,9 @@ if [ "$digit" = 2 ]; then
# execute the monocolour-converter to convert all 3-colour icons to 2-colour ones
python3.5 /home/pi/E-Paper-Master/monocolour-converter.py
# edit the settings file for the 2-colour display option
sed -i 's/display_colours = "bwr"/display_colours = "bw"/' /home/pi/E-Paper-Master/Calendar/settings.py
# add a short info
cat > /home/pi/E-Paper-Master/Info.txt << EOF
This document contains a short info of the E-Paper-Calendar software version