The current RiotClient is 32-bit app, so you need the latest preview .NET 9.0 SDK that supports x86.
git clone https://github.com/nomi-san/RitoClient.git
cd RitoClient
dotnet publish -c Release -r win-x86 -o bin\
bin/
|__ RitoClient.dll
|__ preload/
|__ hello.js
- Create a symlink named
dwrite.dll
in your RiotClientElectron folder that points to the outputRitoClient.dll
.
admin$ mklink "path\to\Riot Client\RiotClientElectron\dwrite.dll" "bin\RitoClient.dll"
- Put your JavaScript files in
preload
folder
console.info('%c RitoClient ', 'background: #eb0029; color: #fff', 'Hi Im Gosu :)')
- Launch your RiotClient and enjoy!
- Ctrl + Shift + R to reload the client
- Ctrl + Shift + I to open the remote DevTools
For testing the latest .NET SDK and Native AOT. Some code in this repo come from PenguLoader but C# version.
The new RiotClient Electron uses single executable for both browser process and renderer process, so the IFEO debugger will not work due to chrome_elf.
The new method is to enable remote debugger inside the Electron app, however the app has disabled built-in DevTools. Cannot create a BrowserWindow, so the remote DevTools should be opened in your web browser.