676 B
676 B
Gadget Drone
Gadget Drone is a component in the Gadget Code ecosystem that operates as a headless/non-interactive process on a host in a directory on storage (once authenticated). Gadget Drone:
-
Assumes ownership of process.cwd() on startup, and verifies that the directory is either already a Gadget Drone directory, or empty. If not a Gadget Drone directory, and if also not empty, Gadget Drone refuses to start with a message printed to the console, and terminates.
-
Creates the .gadget and .gadget-cache directories in the directory on launch if they are not there.
.gadget directory
When the Gadget Drone starts and initializes,