Skip to content
This repository has been archived by the owner on Aug 23, 2023. It is now read-only.

Commit

Permalink
Fix docker dev build tooling for libryzenadj.so
Browse files Browse the repository at this point in the history
  • Loading branch information
NGnius committed Feb 11, 2023
1 parent c3cc449 commit fa96588
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Binary file modified assets/ui.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion backend/run_docker_img.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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/
4 changes: 3 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit fa96588

Please sign in to comment.