Skip to content

Commit

Permalink
Add framework spec for macOS release too
Browse files Browse the repository at this point in the history
  • Loading branch information
peppy committed Feb 5, 2024
1 parent 8480bfa commit abaa177
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ private static void buildForMac(string arch, string version)
// without touching the app bundle itself, changes to file associations / icons / etc. will be cached at a macOS level and not updated.
runCommand("touch", $"\"{Path.Combine(stagingPath, "osu!.app")}\" {stagingPath}", false);

runCommand("dotnet", $"publish -r osx-{arch} {ProjectName} --configuration Release -o {stagingPath}/osu!.app/Contents/MacOS /p:Version={version}");
runCommand("dotnet", $"publish -f net8.0 -r osx-{arch} {ProjectName} --configuration Release -o {stagingPath}/osu!.app/Contents/MacOS /p:Version={version}");

string stagingApp = $"{stagingPath}/osu!.app";
string archLabel = arch == "x64" ? "Intel" : "Apple Silicon";
Expand Down

0 comments on commit abaa177

Please sign in to comment.