soiz1's picture
Upload folder using huggingface_hub
540b600 verified

Addons

Addons and translations are from the Scratch Addons browser extension. Feature requests should be sent upstream, but bug reports should be opened here first incase it's a bug caused by PenguinMod.

We apply some patches on top of the original source files. These patches are maintained in https://github.com/TurboWarp/addons.

entry.js exports a function that begins running addons.

pull.js is a magical script that automatically pulls code from GitHub, parses it with regex, applies some more automated patches, and copies everything to the proper folders.

Directory structure:

  • addons - the addons (managed by pull.js)
  • addons-l10n - addon translations used at runtime (managed by pull.js)
  • addons-l10n-settings - addon translations used by the settings page (managed by pull.js)
  • libraries - libraries used by addons (managed by pull.js)
  • generated - additional generated files (managed by pull.js)
  • settings - the settings page and its translations