A sleek Windows account switcher for Riot Games / League of Legends built with Tauri v2 (Rust + WebView2) and React + TypeScript, referencing TcNoAccSwitcher's session-swapping approach.
- Add New Account: Closes running Riot/League executables, clears live auth files (
RiotGamesPrivateSettings.yaml,Cookies,Sessions), opens a fresh Riot Client for login, auto-detects when login completes (GameName#TAG, region, PUUID), and lets you customize the name & logo before saving. - One-Click Account Switch: Multi-stage process closer (LCU/Riot lockfile quit, graceful
WM_CLOSE, force termination, and elevated UAC fallback when needed), syncs rotated outgoing tokens, swaps session files andHKCU\Software\Riot Gamesregistry snapshot (if present), and launches Riot Client or League of Legends directly. - Customisable Names & Logos:
- Includes all 11 League of Legends rank emblems (
UnrankedthroughChallenger) as crisp Hextech vector icons. - Supports uploading or dropping custom images (
PNG,JPG,WebP,SVG,ICO).
- Includes all 11 League of Legends rank emblems (
- Desktop Shortcuts: Creates a Windows
.lnkshortcut directly on the Desktop using the exact account name (and nothing else) as the shortcut name, converting the account's logo (rank or custom image) into a multi-size.icoicon. Double-clicking the shortcut runsRiot Account Switcher.exe --switch "<id>"headlessly without opening the UI or checking for updates. - In-App Updater: Optionally checks GitHub Releases on direct launch (togglable in Settings), displaying the version upgrade and annotated git tag release notes before downloading and launching the new NSIS
.exeinstaller.
- Node.js (v20+)
- Rust (
stable) and Visual Studio C++ Build Tools (Desktop development with C++) - Microsoft Edge WebView2 Runtime (built into Windows 11 and most Windows 10 systems)
# Install frontend dependencies
npm install
# Run in development mode (Vite + Tauri WebView2 hot-reload)
npm run dev
# Frontend type-check & production asset build
npm run typecheck
npm run build:renderer
# Build Windows NSIS .exe installer (outputs to src-tauri/target/release/bundle/nsis/)
npm run build- CI Test Builds: ci.yml triggers on branch pushes and pull requests (
is_release: false). - Release Builds: Pushing a
v*tag pointing to a commit onmaintriggers release.yml onwindows-latestto compile the Tauri WebView2 NSIS installer, optionally sign it via SignPath, and publish it to GitHub Releases.
Free code signing provided by SignPath.io, certificate by SignPath Foundation.
- Build & Signing Pipeline: Releases are built exclusively by GitHub Actions from public commits/tags in
Lumi-Script/RiotAccountSwitcherand submitted to SignPath (signpath/github-action-submit-signing-request) for signing. - Privacy: This application runs locally and does not send user credentials, session tokens, or telemetry to any external servers.
- Maintainers / Approvers: Repository maintainers under
Lumi-Scriptreview changes and approve release signing requests.
- Apply for an open-source organization at signpath.org/open-source (requires this repo to be public with LICENSE).
- In SignPath, link the GitHub repository (
Lumi-Script/RiotAccountSwitcher) and create:- Project slug:
riot-account-switcher(or setSIGNPATH_PROJECT_SLUGvariable) - Artifact configuration slug:
windows-installer(signing*.exe) - Signing policy slug:
release-signing(and optionallytest-signing)
- Project slug:
- In GitHub Settings → Secrets and variables → Actions, add:
- Secret:
SIGNPATH_API_TOKEN - Variable:
SIGNPATH_ORGANIZATION_ID - Optional variables:
SIGNPATH_PROJECT_SLUG,SIGNPATH_ARTIFACT_CONFIGURATION_SLUG,SIGNPATH_ENABLE_TEST_SIGNING(true)
- Secret: