Switch from Pyro5 to rpyc
This commit is contained in:
parent
4637027f89
commit
59f5ea0fec
|
@ -3,4 +3,4 @@ from os.path import join, abspath, dirname
|
||||||
|
|
||||||
print("installing")
|
print("installing")
|
||||||
toplevel = dirname(abspath(__file__))
|
toplevel = dirname(abspath(__file__))
|
||||||
create_venv(join(toplevel, ".venv"), join(toplevel, "backend", "requirements.txt"))
|
create_venv(join(toplevel, "backend", ".venv"), join(toplevel, "backend", "requirements.txt"))
|
|
@ -59,9 +59,4 @@ class Backend(BackendBase):
|
||||||
self.OBSController.switch_to_scene(scene)
|
self.OBSController.switch_to_scene(scene)
|
||||||
|
|
||||||
print("init backend")
|
print("init backend")
|
||||||
backend = Backend()
|
backend = Backend()
|
||||||
|
|
||||||
|
|
||||||
for t in threading.enumerate():
|
|
||||||
if t.daemon:
|
|
||||||
t.join()
|
|
2
main.py
2
main.py
|
@ -29,7 +29,7 @@ class OBS(PluginBase):
|
||||||
|
|
||||||
# Launch backend
|
# Launch backend
|
||||||
print("launch backend")
|
print("launch backend")
|
||||||
self.launch_backend(os.path.join(self.PATH, "backend", "backend.py"), os.path.join(self.PATH, ".venv"))
|
self.launch_backend(os.path.join(self.PATH, "backend", "backend.py"), os.path.join(self.PATH, "backend", ".venv"), open_in_terminal=True)
|
||||||
print("backend launched")
|
print("backend launched")
|
||||||
|
|
||||||
self.lm = self.locale_manager
|
self.lm = self.locale_manager
|
||||||
|
|
Loading…
Reference in New Issue