Runtime API
These APIs are designed to use inside League Client with Pengu Loader plugin runtime.
window.openDevTools()
functionsince v0.3Call this function to open the built-in Chrome DevTools window.
Example:
js
// open the DevTools
window.openDevTools()
window.openPluginsFolder(path?)
functionsince v1.0Call this function to open the plugins folder in new File Explorer window.
If path
is given, it will open the path with respect to the plugins folder.
Example:
js
window.openPluginsFolder()
window.openPluginsFolder('/plugin-demo/config')
window.reloadClient()
functionsince v1.0.4Call this function to reload the Client and ignore caching.
Example:
js
window.reloadClient()
window.restartClient()
functionsince v1.0.5Call this function to restart the Client (entire the UX processes).
Example:
js
window.restartClient()