Skip to content

Commit

Permalink
feat:<CI> 构建时自动进行AOT,桥接函数等生成操作
Browse files Browse the repository at this point in the history
  • Loading branch information
wqaetly committed Sep 21, 2022
1 parent 495190c commit bf2076d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Unity/Assets/Editor/BuildEditor/BuildStandalonePlayer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
using System.Collections.Generic;
using System.IO;
using HybridCLR.Editor;
using HybridCLR.Editor.Commands;
using SimpleJSON;
using Sirenix.Serialization;
using UnityEditor;
Expand All @@ -22,6 +23,8 @@ public static class BuildStandalonePlayer
[MonKey.Command("Build EXE", "打出EXE文件,并刷新用于AOT元数据补充的DLL", Category = "Build")]
public static void Build()
{
PrebuildCommand.GenerateAll();

var outputPath =
$"{GlobalDefine.RelativeDirPrefix}/ProjectS_EXE"; //EditorUtility.SaveFolderPanel("Choose Location of the Built Game", "", "");
if (outputPath.Length == 0)
Expand Down

0 comments on commit bf2076d

Please sign in to comment.