mirror of
https://github.com/game-ci/unity-builder.git
synced 2026-06-12 08:53:55 -07:00
Adds build support for tvOS in macos-latest (#709)
* Removes limit for tvOS only in Windows * Fix UnityHub argument for tvOS * Allows macos as a build platform for tvOS
This commit is contained in:
committed by
GitHub
parent
819c2511e0
commit
3b26780ddf
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user