Allows macos as a build platform for tvOS
parent
a7a3b838ac
commit
7c273c4a12
|
@ -6613,6 +6613,9 @@ class ImageTag {
|
||||||
case platform_1.default.types.XboxOne:
|
case platform_1.default.types.XboxOne:
|
||||||
return windows;
|
return windows;
|
||||||
case platform_1.default.types.tvOS:
|
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;
|
return tvos;
|
||||||
case platform_1.default.types.Switch:
|
case platform_1.default.types.Switch:
|
||||||
return windows;
|
return windows;
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -136,6 +136,10 @@ class ImageTag {
|
||||||
case Platform.types.XboxOne:
|
case Platform.types.XboxOne:
|
||||||
return windows;
|
return windows;
|
||||||
case Platform.types.tvOS:
|
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;
|
return tvos;
|
||||||
case Platform.types.Switch:
|
case Platform.types.Switch:
|
||||||
return windows;
|
return windows;
|
||||||
|
|
Loading…
Reference in New Issue