From 01213cb1ee21d0beeaba103577f233c5a6144c54 Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Mon, 26 Feb 2024 13:00:38 -0300 Subject: fix: prevent LuaRocks from blocking lfs from removal on Windows Prevent LuaRocks itself from using installed modules and blocking their files from removal. This is not an issue on luarocks.exe because its own copy of lfs is statically linked. We need to eventually switch to using that always, but for now this is a workable solution. Fixes #1428. --- install.bat | 1 + 1 file changed, 1 insertion(+) diff --git a/install.bat b/install.bat index ba4a12fd..61ee164d 100644 --- a/install.bat +++ b/install.bat @@ -1163,6 +1163,7 @@ if USE_MINGW then end f:write("}\n") f:write("verbose = false -- set to 'true' to enable verbose output\n") +f:write("fs_use_modules = false -- prevent LuaRocks itself from using installed modules and blocking their files from removal \n") f:close() print(S"Created LuaRocks config file: $CONFIG_FILE") -- cgit v1.2.3-55-g6feb