diff --git a/dist/index.js b/dist/index.js index aafcec4f..28975040 100644 Binary files a/dist/index.js and b/dist/index.js differ diff --git a/dist/index.js.map b/dist/index.js.map index e550dbc2..42829bab 100644 Binary files a/dist/index.js.map and b/dist/index.js.map differ diff --git a/dist/licenses.txt b/dist/licenses.txt index 497a23d4..138f7f39 100644 Binary files a/dist/licenses.txt and b/dist/licenses.txt differ diff --git a/src/model/image-tag.ts b/src/model/image-tag.ts index 2b9fd910..c0a47ddb 100644 --- a/src/model/image-tag.ts +++ b/src/model/image-tag.ts @@ -136,8 +136,8 @@ class ImageTag { case Platform.types.XboxOne: return windows; case Platform.types.tvOS: - if (process.platform !== 'win32') { - throw new Error(`tvOS can only be built on a windows base OS`); + if (process.platform !== 'win32' && process.platform !== 'darwin') { + throw new Error(`tvOS can only be built on Windows or macOS base OS`); } return tvos; diff --git a/src/model/platform-setup/setup-mac.ts b/src/model/platform-setup/setup-mac.ts index 17c0d413..a12e04bb 100644 --- a/src/model/platform-setup/setup-mac.ts +++ b/src/model/platform-setup/setup-mac.ts @@ -101,7 +101,7 @@ class SetupMac { moduleArgument.push('--module', 'ios'); break; case 'tvOS': - moduleArgument.push('--module', 'tvos'); + moduleArgument.push('--module', 'appletv'); break; case 'StandaloneOSX': moduleArgument.push('--module', 'mac-il2cpp');