Merge branch 'dev'
This commit is contained in:
commit
4bf548152f
3 changed files with 4 additions and 2 deletions
BIN
assets/ui.png
BIN
assets/ui.png
Binary file not shown.
Before Width: | Height: | Size: 162 KiB After Width: | Height: | Size: 178 KiB |
|
@ -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
main.py
4
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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue