Git Product home page Git Product logo

ritoclient's Introduction


RiotClient

RitoClient Electron

๐Ÿคฟ Deep dive into your RiotClient


๐Ÿ”จ Building

Prerequisites

The current RiotClient is 32-bit app, so you need the latest preview .NET 9.0 SDK that supports x86.

Note that the using SDK in this project is 9.0.0-preview.5.24262.1, if you get different SDK version, please change it in the .csproj project file.

   ...
   <ItemGroup>
     <PackageReference
       Include="Microsoft.DotNet.ILCompiler; runtime.win-x64.Microsoft.DotNet.ILCompiler"
       Version="9.0.0-preview.5.24262.1"
     />
     ...

Build steps

git clone https://github.com/nomi-san/RitoClient.git
cd RitoClient
dotnet publish -c Release -r win-x86 -o bin\

๐ŸŒŸ Getting started

Installation

bin/
  |__ RitoClient.dll
  |__ preload/
     |__ hello.js
  1. Create a symlink named dwrite.dll in your RiotClientElectron folder that points to the output RitoClient.dll.
admin$ mklink "path\to\Riot Client\RiotClientElectron\dwrite.dll" "bin\RitoClient.dll"
  1. Put your JavaScript files in preload folder
console.info('%c RitoClient ', 'background: #eb0029; color: #fff', 'Hi Im Gosu :)')
  1. Launch your RiotClient and enjoy!

Key bindings

  • Ctrl + Shift + R to reload the client
  • Ctrl + Shift + I to open the remote DevTools

image

๐Ÿค” FAQs

Why C# AOT?

For testing the latest .NET SDK and Native AOT. Some code in this repo come from PenguLoader but C# version.

Why no more IFEO?

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.

Why remote DevTools?

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.