These APIs are designed to use inside League Client with Pengu Loader plugin runtime.
Call this function to open the built-in Chrome DevTools window.
Example:
window.openDevTools() // built-in DevTools
window.openDevTools(true) // remote DevToolsCall 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:
window.openPluginsFolder()
window.openPluginsFolder("/plugin-demo/config")Call this function to reload the Client and ignore caching.
Example:
window.reloadClient()Call this function to restart the Client (entire the UX processes).
Example:
window.restartClient()Call this function get the current script path.
Example:
// https://plugins/your-plugin/index.js
window.getScriptPath()This property returns the current version of Pengu Loader.
Example:
console.log(window.__llver) // 0.6.0
console.log(`You are using Pengu Loader v${window.__llver}`)::: tip
Since v1.1.0, this property has been deprecated.
Please use Pengu.version instead.
:::