remove macos from checkPlatform

This commit is contained in:
Sean Yesmunt 2018-07-21 05:26:47 -04:00
parent fc3c7fd94d
commit 7b6662fa3f

View file

@ -12,11 +12,9 @@ const downloadDaemon = require('./downloadDaemon');
module.exports = context => {
let currentPlatform = os.platform();
if (currentPlatform === 'darwin') currentPlatform = 'macoss';
if (currentPlatform === 'win32') currentPlatform = 'windows';
let buildingPlatformTarget = context.platform.toString();
if (buildingPlatformTarget === 'mac') buildingPlatformTarget = 'macos';
if (buildingPlatformTarget !== currentPlatform) {
console.log(