junlarsen / league-connect

:electric_plug: Node.js HTTP/1.1, HTTP/2.0 and WebSocket interface to the League of Legends Client APIs
https://www.npmjs.com/package/league-connect
MIT License
156 stars 24 forks source link

Password replace() work around #86

Closed lologrignola closed 2 years ago

lologrignola commented 2 years ago

Fix for the "--app-pid" problem using replace. Not the best fix but it works.

junlarsen commented 2 years ago

I'm just worried this'll only work once and next time somebody has the same problem with a different flag 🤔 Trying to find out a clever way to do this