diff --git a/UltraStar Play/Packages/playshared/Editor/BuildTools/BuildUtils.cs b/UltraStar Play/Packages/playshared/Editor/BuildTools/BuildUtils.cs index ccf0c02ab..7446118f1 100644 --- a/UltraStar Play/Packages/playshared/Editor/BuildTools/BuildUtils.cs +++ b/UltraStar Play/Packages/playshared/Editor/BuildTools/BuildUtils.cs @@ -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)}");