Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions Assets/Rivet/Editor/Util/Builder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -256,11 +256,7 @@ private static string FindPlayerExecutablePath(string buildPath, BuildTarget bui
}
else
{
executablePath = Path.Combine(buildPath, productName);
if (buildTarget == BuildTarget.StandaloneWindows || buildTarget == BuildTarget.StandaloneWindows64)
{
executablePath += ".exe";
}
executablePath = buildPath;
}

if (!File.Exists(executablePath))
Expand All @@ -286,7 +282,9 @@ public static string GetBuildName(string baseName, BuildTarget target, bool isSe
if (target == BuildTarget.StandaloneOSX && !isServer)
{
return baseName + ".app";
} else if (target == BuildTarget.StandaloneWindows || target == BuildTarget.StandaloneWindows64) {
}
if (target == BuildTarget.StandaloneWindows || target == BuildTarget.StandaloneWindows64)
{
return baseName + ".exe";
}
return baseName;
Expand Down