Skip to content

Commit

Permalink
Locally fix pack title for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
peppy committed Sep 6, 2024
1 parent 1594f56 commit 0eaa3fd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Uploaders/VelopackUploader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,13 @@ public override void RestoreBuild()
}
}

// influences the name of the .app bundle. but needs to be osu!(lazer) for windows shortcuts
protected virtual string PackTitle => "osu!";

public override void PublishBuild(string version)
{
Program.RunCommand("dotnet", $"vpk [{operatingSystemName}] pack"
+ $" --packTitle=\"osu!\""
+ $" --packTitle=\"{PackTitle}\""
+ $" --packId=\"{Program.PackageName}\""
+ $" --packVersion=\"{version}\""
+ $" --runtime=\"{runtimeIdentifier}\""
Expand Down
2 changes: 2 additions & 0 deletions Uploaders/WindowsVelopackUploader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ public WindowsVelopackUploader(string applicationName, string operatingSystemNam
this.channel = channel;
}

protected override string PackTitle => "osu!(lazer)";

public override void PublishBuild(string version)
{
base.PublishBuild(version);
Expand Down

0 comments on commit 0eaa3fd

Please sign in to comment.