From 57c08d4e923dc22d79179537b6d22b537432e779 Mon Sep 17 00:00:00 2001 From: Alex-Rachel <574809918@qq.com> Date: Mon, 7 Jul 2025 12:05:07 +0800 Subject: [PATCH] Update ReleaseTools.cs --- UnityProject/Assets/TEngine/Editor/ReleaseTools/ReleaseTools.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UnityProject/Assets/TEngine/Editor/ReleaseTools/ReleaseTools.cs b/UnityProject/Assets/TEngine/Editor/ReleaseTools/ReleaseTools.cs index 07a11496..ca0c9a64 100644 --- a/UnityProject/Assets/TEngine/Editor/ReleaseTools/ReleaseTools.cs +++ b/UnityProject/Assets/TEngine/Editor/ReleaseTools/ReleaseTools.cs @@ -310,7 +310,7 @@ namespace TEngine public static void BuildImp(BuildTargetGroup buildTargetGroup, BuildTarget buildTarget, string locationPathName) { - EditorUserBuildSettings.SwitchActiveBuildTarget(buildTargetGroup, BuildTarget.StandaloneWindows64); + EditorUserBuildSettings.SwitchActiveBuildTarget(buildTargetGroup, buildTarget); AssetDatabase.Refresh(); BuildPlayerOptions buildPlayerOptions = new BuildPlayerOptions