checkZipArchive

expect fun checkZipArchive(pathToZip: String, configCheck: ConfigCheck = ConfigCheck()): ConfigCheck
actual open override fun checkZipArchive(pathToZip: String, configCheck: ConfigCheck): ConfigCheck

Check a given ZIP-archives contents. If the ZIP-archive only contains one directory, or if it contains neither the mods nor the config directories, consider it invalid.

Author

Griefed

Parameters

pathToZip

Path to the ZIP-file to check.