Skip to content

v1.0.4-hotfix1

Compare
Choose a tag to compare
@GamerVII-NET GamerVII-NET released this 28 Jan 18:28
· 8 commits to master since this release
9b17e22

Release Notes - v1.0.4-hotfix1

  • 🛠 Refactored File Removal Logic for Better Accuracy

    • Enhanced the IsNeedRemove method to properly filter files, ensuring:
      • Empty files and mismatched files (by hash or size) are correctly removed.
      • Allowed paths and whitelisted files are preserved.
    • Simplified file hash comparison by replacing CompareHashOptionalMods with HasFileByHash for improved clarity and consistency.
  • 🧹 Code Refactor for Better Readability

    • Reordered conditions in the IsNeedRemove method to:
      • Evaluate allowed paths before checking file size.
      • Improve the logical flow without introducing functional changes.

🔧 Impact:

This hotfix ensures better accuracy in file handling, improves code maintainability, and resolves potential edge cases in file removal logic.


Make sure to apply this hotfix to benefit from the improved file filtering mechanism! 😊