Skip to content

About

Sleek Riot Games / League of Legends account switcher with desktop shortcuts and customizable logos

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Riot Account Switcher

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.

Banner

Features

  • 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 and HKCU\Software\Riot Games registry snapshot (if present), and launches Riot Client or League of Legends directly.
  • Customisable Names & Logos:
    • Includes all 11 League of Legends rank emblems (Unranked through Challenger) as crisp Hextech vector icons.
    • Supports uploading or dropping custom images (PNG, JPG, WebP, SVG, ICO).
  • Desktop Shortcuts: Creates a Windows .lnk shortcut 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 .ico icon. Double-clicking the shortcut runs Riot 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 .exe installer.

Development & Local Build

Prerequisites (Windows)

Commands

# 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

GitHub Actions Release & SignPath Code Signing

  • 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 on main triggers release.yml on windows-latest to compile the Tauri WebView2 NSIS installer, optionally sign it via SignPath, and publish it to GitHub Releases.

Code Signing Policy

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/RiotAccountSwitcher and 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-Script review changes and approve release signing requests.

SignPath Foundation Setup Checklist

  1. Apply for an open-source organization at signpath.org/open-source (requires this repo to be public with LICENSE).
  2. In SignPath, link the GitHub repository (Lumi-Script/RiotAccountSwitcher) and create:
    • Project slug: riot-account-switcher (or set SIGNPATH_PROJECT_SLUG variable)
    • Artifact configuration slug: windows-installer (signing *.exe)
    • Signing policy slug: release-signing (and optionally test-signing)
  3. 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)

About

Sleek Riot Games / League of Legends account switcher with desktop shortcuts and customizable logos

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Contributors

Languages