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

Commit fa96588

Browse files
committed
Fix docker dev build tooling for libryzenadj.so
1 parent c3cc449 commit fa96588

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

assets/ui.png

16.3 KB
Loading

backend/run_docker_img.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44

55
docker run -i --entrypoint /backend/entrypoint.sh -v $PWD:/backend powertools_backend
66
mkdir -p ../bin
7-
cp ./out/backend ../bin
7+
cp ./out/* ../bin/

main.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ class Plugin:
1212
async def _main(self):
1313
# startup
1414
print("PowerTools starting...")
15-
self.backend_proc = subprocess.Popen([PARENT_DIR + "/bin/backend"])
15+
self.backend_proc = subprocess.Popen(
16+
[PARENT_DIR + "/bin/backend"],
17+
env = {"LD_LIBRARY_PATH": ":"+PARENT_DIR+"/bin"})
1618
while True:
1719
await asyncio.sleep(1)
1820

0 commit comments

Comments
 (0)