1
0
mirror of https://github.com/SKCraft/Launcher.git synced 2024-11-27 12:46:22 +01:00

Disable automatically writing hashes to .url.txt files

This commit is contained in:
Henry Le Grys 2021-01-25 14:42:15 +00:00
parent 67f3fc1fa4
commit 3907158274

View File

@ -30,8 +30,9 @@ public class FileUrlScanner extends DirectoryWalker {
if (targetFile.exists()) {
String localHash = FileUtils.getShaHash(targetFile);
if (info.getHash() == null) {
info.setHash(localHash);
info.writeToFile(file);
// Disabled for now, let's not touch source files
// info.setHash(localHash);
// info.writeToFile(file);
return;
}