Merge branch 'trash-files' of https://github.com/nothingTVatYT/FlaxEngine into nothingTVatYT-trash-files

This commit is contained in:
Wojtek Figat
2024-02-23 19:55:16 +01:00
3 changed files with 109 additions and 1 deletions

View File

@@ -591,7 +591,7 @@ void Content::deleteFileSafety(const StringView& path, const Guid& id)
}
}
#if PLATFORM_WINDOWS
#if PLATFORM_WINDOWS || PLATFORM_LINUX
// Safety way - move file to the recycle bin
if (FileSystem::MoveFileToRecycleBin(path))
{