This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
object ZipArchive { | |
def unZip(source: File, targetFolder: File): Unit = { | |
val zipFile = new ZipFile(source) | |
try | |
zipFile.entries.asScala.foreach { entry => | |
val target = new File(targetFolder, entry.getName) | |
if (entry.isDirectory) target.mkdirs() | |
else { | |
target.getParentFile.mkdirs() | |
val in = zipFile.getInputStream(entry) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Background] | |
Color=40,40,40 | |
[BackgroundIntense] | |
Color=40,40,40 | |
[Color0] | |
Color=73,72,62 | |
[Color0Intense] |