return platform type in compress.generateFolder