1.0.1 • Published 6 years ago
fusee-gelee.js v1.0.1
Fusée Gelée.js
This is a npm repackaging of code from atlas44's web-fusee-launcher, which itself is a JS rewrite of Reswitched's fusee-launcher.
In other words, this is a js package that allows the user to utilize CVE-2018-6242 Tegra X1 flaw (also known as ShofEL2 or Fusée Gelée). This is most commonly used to run third-party (homebrew) software on the Nintendo Switch.
Disclaimer
This library is NOT endorsed or supported by ReSwitched, fail0verflow, or anyone knowledgable. I did not write the main code for this library, nor do I understand it well.
Usage
import PayloadLauncher from "fusee-gelee";
// ...
const switch = await navigator.usb.requestDevice({ filters: [{ vendorId: 0x0955 }] });
const launcher = new PayloadLauncher({device: switch, payload: /* a Uint8Array of your payload */});
launcher.launchPayload();
// Array of string progress messages
console.log(...launcher.messages);
Includes Typescript typings.
Contributing
All files are formatted with Prettier.
Built with the latest LTS Carbon release of node (v8.11.2 as of right now). Run nvm use
to use it.