This commit is contained in:
NaysKutzu
2023-08-09 14:46:41 +02:00
committed by GitHub
parent 4a8618da79
commit 781171f7c5

View File

@@ -1,13 +1,8 @@
### Some explanations # Some explanations
defaultstorage: defaultstorage:
This directory is for the default assets of a moonlight instance, e.g. lang files, images etc This directory is for the default assets of a Moonlight instance, e.g., Lang files, images, etc.
storage: Storage:
This directory is empty in fresh moonlight instances and will be populated with example config upon first run. This directory is empty in fresh Moonlight instances and will be populated with an example configuration upon first run. Before using Moonlight, this config file has to be modified. Also, resources are going to be copied from the default storage to this storage. To access files in this storage, we recommend using the Path Builder functions to ensure cross-platform compatibility. The storage directory should be mounted to a specific path when using a Docker container, so when the container is replaced or rebuilt,  your storage will not be modified.
Before using moonlight this config file has to be modified.
Also resources are going to be copied from the default storage to this storage.
To access files in this storage we recommend to use the PathBuilder functions to ensure cross platform compatibility.
The storage directory should be mounted to a specific path when using docker container so when the container is replaced/rebuild your storage will not be modified