Explorar o código

Document getSaveDirectory location;

bjorn %!s(int64=5) %!d(string=hai) anos
pai
achega
c32867be7e
Modificáronse 1 ficheiros con 10 adicións e 0 borrados
  1. 10 0
      api/lovr/filesystem/getSaveDirectory.lua

+ 10 - 0
api/lovr/filesystem/getSaveDirectory.lua

@@ -9,6 +9,16 @@ return {
       description = 'The absolute path to the save directory.'
     }
   },
+  notes = [[
+    The save directory takes the following form:
+
+    ```
+    <appdata>/LOVR/<identity>
+    ```
+
+    Where `<appdata>` is `lovr.filesystem.getAppdataDirectory` and `<identity>` is
+    `lovr.filesystem.getIdentity` and can be customized using `lovr.conf`.
+  ]],
   related = {
     'lovr.filesystem.getIdentity',
     'lovr.filesystem.getAppdataDirectory'