Merge branch 'dev'

This commit is contained in:
NGnius (Graham) 2023-02-10 23:36:40 -05:00
commit 4bf548152f
3 changed files with 4 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 162 KiB

After

Width:  |  Height:  |  Size: 178 KiB

View file

@ -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/

View file

@ -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)