Allows macos as a build platform for tvOS

pull/709/head
Daniel Lupiañez Casares 2025-06-07 14:24:29 +02:00
parent a7a3b838ac
commit 7c273c4a12
3 changed files with 8 additions and 1 deletions

3
dist/index.js generated vendored
View File

@ -6613,6 +6613,9 @@ class ImageTag {
case platform_1.default.types.XboxOne:
return windows;
case platform_1.default.types.tvOS:
if (process.platform !== 'win32' && process.platform !== 'darwin') {
throw new Error(`tvOS can only be built on Windows or macOS base OS`);
}
return tvos;
case platform_1.default.types.Switch:
return windows;

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View File

@ -136,6 +136,10 @@ class ImageTag {
case Platform.types.XboxOne:
return windows;
case Platform.types.tvOS:
if (process.platform !== 'win32' && process.platform !== 'darwin') {
throw new Error(`tvOS can only be built on Windows or macOS base OS`);
}
return tvos;
case Platform.types.Switch:
return windows;