diff --git a/assets/ui.png b/assets/ui.png index 64d0069..dd1aab6 100644 Binary files a/assets/ui.png and b/assets/ui.png differ diff --git a/backend/run_docker_img.sh b/backend/run_docker_img.sh index c8d8eb9..1164d5d 100755 --- a/backend/run_docker_img.sh +++ b/backend/run_docker_img.sh @@ -4,4 +4,4 @@ docker run -i --entrypoint /backend/entrypoint.sh -v $PWD:/backend powertools_backend mkdir -p ../bin -cp ./out/backend ../bin +cp ./out/* ../bin/ diff --git a/main.py b/main.py index bcf1c93..fc2d580 100644 --- a/main.py +++ b/main.py @@ -12,7 +12,9 @@ class Plugin: async def _main(self): # startup print("PowerTools starting...") - self.backend_proc = subprocess.Popen([PARENT_DIR + "/bin/backend"]) + self.backend_proc = subprocess.Popen( + [PARENT_DIR + "/bin/backend"], + env = {"LD_LIBRARY_PATH": ":"+PARENT_DIR+"/bin"}) while True: await asyncio.sleep(1)