[fix] 修复在某些不支持visionOS的Unity版本上CopyStrippedAOTAssemblies类有编译错误的bug
parent
b977a85b23
commit
e4cf9e9086
|
@ -38,8 +38,10 @@ namespace HybridCLR.Editor.BuildProcessors
|
||||||
case BuildTarget.Android:
|
case BuildTarget.Android:
|
||||||
return $"{projectDir}/Library/Bee/artifacts/Android/ManagedStripped";
|
return $"{projectDir}/Library/Bee/artifacts/Android/ManagedStripped";
|
||||||
case BuildTarget.iOS:
|
case BuildTarget.iOS:
|
||||||
|
#if UNITY_TVOS
|
||||||
case BuildTarget.tvOS:
|
case BuildTarget.tvOS:
|
||||||
#if UNITY_2022_3_OR_NEWER && !TUANJIE_2022_3_OR_NEWER && !UNITY_2023
|
#endif
|
||||||
|
#if UNITY_VISIONOS
|
||||||
case BuildTarget.VisionOS:
|
case BuildTarget.VisionOS:
|
||||||
#endif
|
#endif
|
||||||
return $"{projectDir}/Library/Bee/artifacts/iOS/ManagedStripped";
|
return $"{projectDir}/Library/Bee/artifacts/iOS/ManagedStripped";
|
||||||
|
@ -51,9 +53,11 @@ namespace HybridCLR.Editor.BuildProcessors
|
||||||
return $"{projectDir}/Library/Bee/artifacts/PS4PlayerBuildProgram/ManagedStripped";
|
return $"{projectDir}/Library/Bee/artifacts/PS4PlayerBuildProgram/ManagedStripped";
|
||||||
case BuildTarget.PS5:
|
case BuildTarget.PS5:
|
||||||
return $"{projectDir}/Library/Bee/artifacts/PS5PlayerBuildProgram/ManagedStripped";
|
return $"{projectDir}/Library/Bee/artifacts/PS5PlayerBuildProgram/ManagedStripped";
|
||||||
#if TUANJIE_2022_3_OR_NEWER
|
#if UNITY_WEIXINMINIGAME
|
||||||
case BuildTarget.WeixinMiniGame:
|
case BuildTarget.WeixinMiniGame:
|
||||||
return $"{projectDir}/Library/Bee/artifacts/WeixinMiniGame/ManagedStripped";
|
return $"{projectDir}/Library/Bee/artifacts/WeixinMiniGame/ManagedStripped";
|
||||||
|
#endif
|
||||||
|
#if UNITY_OPENHARMONY
|
||||||
case BuildTarget.OpenHarmony:
|
case BuildTarget.OpenHarmony:
|
||||||
return $"{projectDir}/Library/Bee/artifacts/OpenHarmonyPlayerBuildProgram/ManagedStripped";
|
return $"{projectDir}/Library/Bee/artifacts/OpenHarmonyPlayerBuildProgram/ManagedStripped";
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue