[fix] 解决StripAOTDllCommand生成的临时项目的locationPathName不规范导致与某些插件如Embeded Browser不兼容的问题

main
walon 2024-04-12 00:35:09 +08:00
parent 12bafb897f
commit fd81edb495
1 changed files with 2 additions and 2 deletions

View File

@ -56,11 +56,11 @@ namespace HybridCLR.Editor.Commands
switch(target) switch(target)
{ {
case BuildTarget.StandaloneWindows: case BuildTarget.StandaloneWindows:
case BuildTarget.StandaloneWindows64: return $"{buildDir}/{target}"; case BuildTarget.StandaloneWindows64: return $"{buildDir}/{PlayerSettings.productName}.exe";
case BuildTarget.StandaloneOSX: return buildDir; case BuildTarget.StandaloneOSX: return buildDir;
case BuildTarget.iOS: return buildDir; case BuildTarget.iOS: return buildDir;
case BuildTarget.Android: return buildDir; case BuildTarget.Android: return buildDir;
case BuildTarget.StandaloneLinux64: return buildDir; case BuildTarget.StandaloneLinux64: return $"{buildDir}/{PlayerSettings.productName}";
default: return buildDir; default: return buildDir;
} }
} }