lovr.filesystem.getSource

Edit

Get the absolute path of the project's source directory or archive.

path = lovr.filesystem.getSource()

Arguments

None

Returns

NameTypeDescription
pathstring The absolute path of the project's source, or nil if it's unknown.

See also