diff --git a/dist/index.js b/dist/index.js index d4cac147..591c3043 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 d45e5ea1..42829bab 100644 Binary files a/dist/index.js.map and b/dist/index.js.map differ diff --git a/src/model/image-tag.ts b/src/model/image-tag.ts index 2e416b71..485abb6c 100644 --- a/src/model/image-tag.ts +++ b/src/model/image-tag.ts @@ -150,8 +150,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 068c5898..962fba0f 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 'VisionOS': moduleArgument.push('--module', 'visionos');