FabricMC / fabric-loom

Gradle build system plugin used to automate the setup of a minecraft mod development environment.
MIT License
237 stars 201 forks source link

Explore looking up the process holding a file handle. #1058

Closed modmuss50 closed 7 months ago

modmuss50 commented 7 months ago

Based on: https://devblogs.microsoft.com/oldnewthing/20120217-00/?p=8283

Im a very wary against adding native code to loom for a range of reasons, but getting the bottom/providing better error messages for the locked file issues might make it worth it.

modmuss50 commented 7 months ago

Closing this PR as having this code build as part of the loom build will be a nightmare. I will move it into a sperate lib, similar to how the native code is built for the installer.