File is a MOD File element. It is used to define a specific file which makes up part of the AddOn.
- name (string)
- the name of the file relative to the directory the MOD file is located.
Assuming the file SuperMOD.lua is in the same directory as the MOD file:
<File name="SuperMOD.lua" />
If the file is located in a subdirectory, such as Source/SuperMOD.xml then it must be referenced as such in the File element:
<File name="Source/SuperMOD.xml" />
All official files use forward slashes ('/') for path directory delimiters, however it may be possible to use back slashes.