Table of Contents
mods directory
The mods
directory is intended to contain MODified-stock or 3rd party (i.e. not from Git) JavaScript modules (.js
files) or Baja modules (.bin
with .src
) (or as of Synchronet v3.21, text/menu files) which will not be overwritten during Synchronet updates/upgrades.
If a file exists in both the exec
directory and the mods
directory, the version in the mods
directory will be loaded and executed rather than the version in the exec
directory.
In Synchronet v3.21+, if a file exists in both the text
directory and the mods/text
directory, the version in the mods/text
directory will be displayed rather than the version in the text
directory. Same is true of the text/menu
(and mods/text/menu
) directories.
The path to the mods
directory is configured in SCFG->System->Advanced Options.
Sub-directories
load
The mods/load
directory is intended to contain MODified stock JavaScript library files from the exec/load
directory.
text
The mods/text
directory (and its sub-directories, e.g. menu
) is intended to contain MODified stock text/menu files from the text
directory (and its sub-directories). This feature was added in Synchronet v3.21.