mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
Automatically migrate client mod storage (#11960)
This commit is contained in:
parent
47735c273c
commit
fc161e757c
3 changed files with 43 additions and 5 deletions
|
@ -385,6 +385,9 @@ public:
|
|||
bool registerModStorage(ModMetadata *meta) override;
|
||||
void unregisterModStorage(const std::string &name) override;
|
||||
|
||||
// Migrates away old files-based mod storage if necessary
|
||||
void migrateModStorage();
|
||||
|
||||
// The following set of functions is used by ClientMediaDownloader
|
||||
// Insert a media file appropriately into the appropriate manager
|
||||
bool loadMedia(const std::string &data, const std::string &filename,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue