Skip to content

Patches the lunar launcher to enable agent attaching & devtools

Notifications You must be signed in to change notification settings

Nilsen84/lunar-launcher-inject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lunar_launcher_inject

Small wrapper for lunar clients electron launcher.

Uses the Chrome DevTools Protocol to override the node child_process.spawn function and inject jvm arguments. See payload.js.

Re-enables agent attaching + loads all jar files in the same directory as the executable as premain agents.

Usage

  • Download the executable for your OS
  • Place it in a directory together with any premain agents you want to use
  • Launch lunar using this program instead of the official launcher. The launcher looks normal but will silently inject the agents on launch.