Old update.sh needs to be replaced with a golang script.
Solution
In the app.go file Update() we added the old bash script to comments. We need to conver this into golang to work with our new code. Additionally any system related update commands should be moved into a new system model. The system update will also invoke the app update model after its updated the system.
Let the user decide if he wants to let the app update run from config.yml option. We will not perform automatic system updates for the user because those may promt the user.
Problem
Old update.sh needs to be replaced with a golang script.
Solution
In the app.go file Update() we added the old bash script to comments. We need to conver this into golang to work with our new code. Additionally any system related update commands should be moved into a new system model. The system update will also invoke the app update model after its updated the system.
Let the user decide if he wants to let the app update run from config.yml option. We will not perform automatic system updates for the user because those may promt the user.
Steps to Reproduce the Problem