remove macos from checkPlatform
This commit is contained in:
parent
fc3c7fd94d
commit
7b6662fa3f
1 changed files with 0 additions and 2 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Reference in a new issue