Update src/model/image-tag.ts

Co-authored-by: David Finol <davidmfinol@gmail.com>
pull/305/head
AndrewKahr 2022-01-24 14:21:01 -08:00 committed by GitHub
parent 390c97bb84
commit e6c511b2ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 11 deletions

View File

@ -68,17 +68,6 @@ class ImageTag {
case Platform.types.StandaloneOSX:
return mac;
case Platform.types.StandaloneWindows:
// Can only build windows-il2cpp on a windows based system
if (process.platform === 'win32') {
// Unity versions before 2019.3 do not support il2cpp
if (major >= 2020 || (major === 2019 && minor >= 3)) {
return windowsIl2cpp;
} else {
throw new Error(`Windows-based builds are only supported on 2019.3.X+ versions of Unity.
If you are trying to build for windows-mono, please use a Linux based OS.`);
}
}
return windows;
case Platform.types.StandaloneWindows64:
// Can only build windows-il2cpp on a windows based system
if (process.platform === 'win32') {