prop: use waydroid upgrade -o to regenerate base prop
This commit is contained in:
parent
e305dd1dc4
commit
43d8cfb18d
1 changed files with 3 additions and 2 deletions
|
|
@ -1,12 +1,11 @@
|
||||||
import configparser
|
import configparser
|
||||||
import glob
|
import glob
|
||||||
import os
|
import os
|
||||||
import re
|
|
||||||
import shutil
|
import shutil
|
||||||
import zipfile
|
import zipfile
|
||||||
import hashlib
|
import hashlib
|
||||||
from tools import images
|
from tools import images
|
||||||
from tools.helper import download_file, get_download_dir
|
from tools.helper import download_file, get_download_dir, upgrade
|
||||||
from tools import container
|
from tools import container
|
||||||
from tools.logger import Logger
|
from tools.logger import Logger
|
||||||
|
|
||||||
|
|
@ -116,10 +115,12 @@ class General:
|
||||||
container.start(self.session)
|
container.start(self.session)
|
||||||
else:
|
else:
|
||||||
container.start()
|
container.start()
|
||||||
|
upgrade()
|
||||||
|
|
||||||
def restart(self):
|
def restart(self):
|
||||||
self.stop()
|
self.stop()
|
||||||
self.start()
|
self.start()
|
||||||
|
upgrade()
|
||||||
|
|
||||||
def copy(self):
|
def copy(self):
|
||||||
pass
|
pass
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue