Skip to content

A convenient launcher for moonlight. Say goodbye to patching Discord every update!

License

Notifications You must be signed in to change notification settings

MeguminSama/moonlight-launcher

Repository files navigation

🌙 moonlight launcher

GitHub release License PRs Welcome

The cross-platform launcher for moonlight that doesn't modify your Discord install.

✨ Features

  • Automatic Updates: Always run the latest version of moonlight with zero effort
  • Cross-Platform: Works on Windows, Linux (including Flatpak)
  • Multiple Discord Branches: Releases available for Discord Stable, PTB, and Canary
  • Developer Friendly: Support for local git installations of moonlight

📦 Installation

Windows

  1. Download the latest installer from Releases
  2. Run the installer and follow the on-screen instructions
  3. Select your preferred Discord branches during installation

Linux

Stable Release

sh -c "$(curl -fsSL https://github.com/MeguminSama/moonlight-launcher/releases/latest/download/install.sh)"

PTB (Public Test Build)

sh -c "$(curl -fsSL https://github.com/MeguminSama/moonlight-launcher/releases/latest/download/install.sh)" -- ptb

Canary (Development Build)

sh -c "$(curl -fsSL https://github.com/MeguminSama/moonlight-launcher/releases/latest/download/install.sh)" -- canary

AUR (Arch Linux)

yay -S moonlight-stable  # or moonlight-ptb or moonlight-canary

Uninstalling

sh -c "$(curl -fsSL https://github.com/MeguminSama/moonlight-launcher/releases/latest/download/install.sh)" -- --uninstall <branch>

🖼️ Screenshots

Windows Linux (KDE)
Windows Start Menu Linux Start Menu

🛠️ Advanced Usage

Available Command Line Flags

  • --local <path>: Use a local moonlight instance
  • --branch [stable | nightly]: Use a specific branch of moonlight
  • --help: Display help message

Passing Arguments to Discord

Any arguments after -- will be passed directly to Discord:

moonlight-stable -- --start-minimized --enable-blink-features=MiddleClickAutoscroll

Using a different branch of moonlight

If you're using moonlight-stable, the launcher will default to using the latest stable release of moonlight. If you're using moonlight-ptb or moonlight-canary, it will default to using the latest nightly build. You can change this behaviour by using the --branch flag:

moonlight-stable --branch nightly
# or
moonlight-canary --branch stable

Using a Local Git Instance

To use a local development version of moonlight:

moonlight-stable --local /path/to/your/moonlight/injector.js

Made with ❤️ by MeguminSama

About

A convenient launcher for moonlight. Say goodbye to patching Discord every update!

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

  •  

Packages

No packages published