Skip to content

Commit

Permalink
Update ReleaseBuildPipeline.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
0x7c13 committed Aug 13, 2023
1 parent dbc4f37 commit 4e25c7f
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions Assets/Scripts/Editor/ReleaseBuildPipeline.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public enum Pal3BuildTarget
Windows_x86 = 1 << 0,
Windows_x64 = 1 << 1,
Linux_x86_x64 = 1 << 2,
MacOS_arm64_x64 = 1 << 3,
macOS_arm64_x64 = 1 << 3,
Android = 1 << 4,
iOS = 1 << 5,
}
Expand Down Expand Up @@ -67,13 +67,13 @@ public static void Build_Linux_x86_x64()
}

#if PAL3
[MenuItem("PAL3/Build Pipelines/Build [MacOS_arm64_x64] IL2CPP XCode Project")]
[MenuItem("PAL3/Build Pipelines/Build [macOS_arm64_x64] IL2CPP XCode Project")]
#elif PAL3A
[MenuItem("PAL3A/Build Pipelines/Build [MacOS_arm64_x64] IL2CPP XCode Project")]
[MenuItem("PAL3A/Build Pipelines/Build [macOS_arm64_x64] IL2CPP XCode Project")]
#endif
public static void Build_MacOS_arm64_x64()
public static void Build_macOS_arm64_x64()
{
BuildGame(Pal3BuildTarget.MacOS_arm64_x64);
BuildGame(Pal3BuildTarget.macOS_arm64_x64);
}

#if PAL3
Expand All @@ -97,16 +97,16 @@ public static void Build_iOS()
}

#if PAL3
[MenuItem("PAL3/Build Pipelines/Build All [Windows, Linux, MacOS, Android, iOS]")]
[MenuItem("PAL3/Build Pipelines/Build All [Windows, Linux, macOS, Android, iOS]")]
#elif PAL3A
[MenuItem("PAL3A/Build Pipelines/Build All [Windows, Linux, MacOS, Android, iOS]")]
[MenuItem("PAL3A/Build Pipelines/Build All [Windows, Linux, macOS, Android, iOS]")]
#endif
public static void BuildAll()
{
BuildGame(Pal3BuildTarget.Windows_x86 |
Pal3BuildTarget.Windows_x64 |
Pal3BuildTarget.Linux_x86_x64 |
Pal3BuildTarget.MacOS_arm64_x64 |
Pal3BuildTarget.macOS_arm64_x64 |
Pal3BuildTarget.Android |
Pal3BuildTarget.iOS);
}
Expand Down Expand Up @@ -136,7 +136,7 @@ private static void BuildGame(Pal3BuildTarget buildTarget)
new { Platform = Pal3BuildTarget.Windows_x86, Extension = ".exe", Group = BuildTargetGroup.Standalone, Target = BuildTarget.StandaloneWindows },
new { Platform = Pal3BuildTarget.Windows_x64, Extension = ".exe", Group = BuildTargetGroup.Standalone, Target = BuildTarget.StandaloneWindows64 },
new { Platform = Pal3BuildTarget.Linux_x86_x64, Extension = "", Group = BuildTargetGroup.Standalone, Target = BuildTarget.StandaloneLinux64 },
new { Platform = Pal3BuildTarget.MacOS_arm64_x64, Extension = "", Group = BuildTargetGroup.Standalone, Target = BuildTarget.StandaloneOSX },
new { Platform = Pal3BuildTarget.macOS_arm64_x64, Extension = "", Group = BuildTargetGroup.Standalone, Target = BuildTarget.StandaloneOSX },
new { Platform = Pal3BuildTarget.Android, Extension = ".apk", Group = BuildTargetGroup.Android, Target = BuildTarget.Android },
new { Platform = Pal3BuildTarget.iOS, Extension = "", Group = BuildTargetGroup.iOS, Target = BuildTarget.iOS },
};
Expand Down

0 comments on commit 4e25c7f

Please sign in to comment.