Releases: superzanti/ServerSync
Releases · superzanti/ServerSync
Code clean up
Nothing exciting really for users in this one.
Mostly just some cleanup around code conventions & file locations.
Bugfixes:
- Found and fixed an issue where ServerSync loaded by forge would crash while trying to discover the root Minecraft directory
Switch to SHA-256 for file comparison
MD5 was not cutting the mustard it would seem, switched to SHA-256.
- @Hexawolf Fixed finding the Minecraft directory relative to ServerSync
#86 Sanitize strings from mcmod.info
Small fix that sanitizes known issue characters from version & name properties in mcmod.info.
Switching to server state mirroring
- Changed deletion to work on the list of files sent by the server in the check updates needed phase
- Fixed configs needing an explicit directory in the config include list
- Changed client only files to be ignored by client side ignore rules (allows users to refuse specific client mods)
- Added further duplicate checking in the final phase
Still no full duplicate handling, needs further design thought.
Initial duplicate checking
Added:
- Basic duplicate check, will inform but not take action
- New thrown exception InvalidSyncFile when comparing files and hashes are unavailable or the comparison file is null
- Added neimod.info to the list of checked information files
Fixing logic & resource leaks
- Fixed a resource leak when accessing jar file contents, was preventing files from being deleted
- Made update needed more robust, should actually work now
Dev Notes:
- SyncFile has been redone to be much cleaner, now has factories for client | config | standard etc
- Added level checking to checks against the servers mod list, can now specify checking all files | standard synced files
Console lag fix
Should fix the console lag that would occur after running SS for a while
Fix GUI calls in silent mode
Created a mock GUI class for when a GUI has not been created.
Slient running for client (Broken)
added two new arguments for serversync:
- progress-only
- silent
silent runs the clients sync process with no GUI at all then terminates.
progress-only will run the clients sync process and only display file progress then terminates.
Fix missing globbing on client side
2.6.12 #66 Fix missing globber in client worker