File size: 558 Bytes
bca5262
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import time
import subprocess
import os
from update.update_app import update_app
from update.update_pip_requirements import update_requirements

from modules.load_configure import *

if echo == "True":
    from modules.echo import *

dir = os.getcwd()

while True:

    print("You in update mode, choose the update options: \n")
    print("1) Update app \n")
    print("2) Update/fix pip requirements \n")

    mode = int(input("Enter options for update, 1 or 2: "))


    if mode == 1:
        update_app()
    elif mode == 2:
        update_requirements()