Use WayDroid 1.4 features like dbus and overlayfs #64
+1
-2
@@ -100,13 +100,12 @@ class General:
|
||||
run(["waydroid", "container", "stop"])
|
||||
|
||||
def start(self):
|
||||
if self.use_dbus:
|
||||
if self.use_dbus and self.session:
|
||||
DBusContainerService().Start(self.session)
|
||||
else:
|
||||
run(["systemctl", "restart", "waydroid-container.service"])
|
||||
|
||||
def restart(self):
|
||||
if DBusContainerService().GetSession():
|
||||
self.stop()
|
||||
self.start()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user