lovr.filesystem.getIdentity

Edit

Returns the identity of the game, which is used as the name of the save directory. The default is default. It can be changed using t.identity in lovr.conf.

identity = lovr.filesystem.getIdentity()

Arguments

None

Returns

NameTypeDescription
identitystring The name of the save directory, or nil if it isn't set.

Notes

On Android, this is always the package id (like org.lovr.app).

See also