miltador f7709e597a Fixed platform detection for generating zip
On Windows, process.platform equals 'win32', therefore platformName was 'UNIX' instead of 'DOS'.
This leaded into a strange behavior on UNIX platforms.
According to jszip docs, platform option also accepts process.platform values.
I simplified the code by passing process.platform directly.
2016-08-15 10:37:47 +03:00
..