Skip to content

Commit

Permalink
fix menu item to build for macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
achimmihca committed Jan 21, 2023
1 parent 63047be commit 92e9cd7
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ public static void PerformCustomBuild(CustomBuildOptions options)
string outputFolderPath = GetBuildOutputFolder(options.appName, options.buildTarget);
string executableFileInOutputFolder = !executableName.IsNullOrEmpty() ? $"/{executableName}" : "";
string fullOutputPath = $"{outputFolderPath}{executableFileInOutputFolder}";
if (options.buildTarget == BuildTarget.StandaloneOSX)
{
fullOutputPath += ".app";
}

string[] enabledScenePaths = GetEnabledScenePaths();
Debug.Log($"Starting build of {options.appName} for {options.buildTarget}. Build options: {options.buildOptions}. Target path: {Path.GetFullPath(fullOutputPath)}");

Expand Down

0 comments on commit 92e9cd7

Please sign in to comment.