Fix docker dev build tooling for libryzenadj.so

This commit is contained in:
NGnius (Graham) 2023-02-10 23:36:22 -05:00
parent c3cc449fee
commit fa96588948
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 docker run -i --entrypoint /backend/entrypoint.sh -v $PWD:/backend powertools_backend
mkdir -p ../bin mkdir -p ../bin
cp ./out/backend ../bin cp ./out/* ../bin/

View file

@ -12,7 +12,9 @@ class Plugin:
async def _main(self): async def _main(self):
# startup # startup
print("PowerTools starting...") 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: while True:
await asyncio.sleep(1) await asyncio.sleep(1)