League-RPC-Disabler is a Windows application designed to disable the official League of Legends Rich Presence.
This application detects the launch of League of Legends. Upon detection, it modifies a specific JSON configuration file to disable the discord plugin. This is something users want to do, especially when running software that enhances the rich presence from league, such as: league-rpc-linux
You could do all of this manually, but you would have to do it everytime you open league... So having this in the background just saves a couple of minutes for you.
To do this manually, you would first need to find your plugin-manifest.json file.. usually it's in this location
C:\Riot Games\League of Legends\Plugins\plugin-manifest.json
and remove this entry:
{
"as": [],
"name": "rcp-be-lol-discord-rp",
"affinity": null,
"lazy": false
}
Basically, all this program does, is to automate this process.
- Go to the releases page
- Download league-rpc-disabler.exe
- Run the program
Just double click on the exe file, it's that simple!
The application will sit in the system tray and monitor for the League of Legends client process. When it detects the client, it will automatically modify the JSON configuration as specified.
To install League RPC Disabler, you need to have Go installed on your machine:
- Install Go (if not installed): https://golang.org/dl/
- Clone the repository:
git clone https://github.com/its-haze/league-rpc-disabler.git
- Navigate into the project directory:
cd league-rpc-disabler
- Build the application:
$env:GO111MODULE="on"; go build -ldflags "-H=windowsgui" -o "league-rpc-disabler.exe" ./cmd
Contributions are what make the open-source community such a fantastic place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.