ZeroPhone / ZPUI

Official ZeroPhone UI framework, based on pyLCI
http://zpui.rtfd.org/
Apache License 2.0
79 stars 19 forks source link

Git updater might remove uncommited changes to in-tree files when run as "python main.py" #116

Open CRImier opened 5 years ago

CRImier commented 5 years ago

Currently, ZPUI updater assumes it's run as a systemctl service, in system-wide directory (/opt/zpui), and not from the local directory (/home/pi/ZPUI or something of that sort). When developing, people might run the updater while running ZPUI as python main.py, and the updater dismisses all the changes to in-git-tree files (so it won't remove config files and custom apps, but will discard changes made to files that exist in the ZPUI git). So, useful code (and other) changes might be lost.

TODO: