mob-sakai/unity-activate — reverse-engineered prompt

Reverse engineered prompt

Build me a small Node based tool that automates Unity manual license activation by driving the Unity website in a browser. I want to be able to use it both from code and from the command line.

It should take a Unity manual activation request file ending in .alf, log into a Unity account with username and password, handle two factor auth either by prompting for the code or by using an authenticator key, optionally use a serial for paid licenses, and then download the resulting .ulf license file to a chosen output folder. If no serial is given, treat it like a personal license flow.

Please make the CLI friendly, with help text, version output, env var support for credentials, and a debug mode that saves useful error info. It should also support a visible browser mode for troubleshooting. For the library API, expose a simple activator class people can call with options and run.

Use the current Unity login flow and look up any docs online if needed.

Want more depth? Deep Reverse