Allows macos as a build platform for tvOS
parent
a7a3b838ac
commit
7c273c4a12
|
@ -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;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue