Skip to content
This repository was archived by the owner on Sep 11, 2023. It is now read-only.

Commit 91d2c7d

Browse files
committed
RPC button now points to latest release
1 parent ba76caa commit 91d2c7d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public static void Main(string[] args)
104104
},
105105
Buttons = new Button[]
106106
{
107-
new Button() { Label = Constants.GetSPCodeText, Url = Constants.GitHubRepository }
107+
new Button() { Label = Constants.GetSPCodeText, Url = Constants.GitHubLatestRelease }
108108
}
109109
});
110110
}

UI/MainWindow/MainWindow.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ public void UpdateWindowTitle()
454454
},
455455
Buttons = new Button[]
456456
{
457-
new Button() { Label = Constants.GetSPCodeText, Url = Constants.GitHubRepository }
457+
new Button() { Label = Constants.GetSPCodeText, Url = Constants.GitHubLatestRelease }
458458
}
459459
});
460460
}

UI/Windows/OptionsWindow.xaml.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ private void DiscordPresenceTime_Changed(object sender, RoutedEventArgs e)
486486
},
487487
Buttons = new Button[]
488488
{
489-
new Button() { Label = Constants.GetSPCodeText, Url = Constants.GitHubRepository }
489+
new Button() { Label = Constants.GetSPCodeText, Url = Constants.GitHubLatestRelease }
490490
}
491491
});
492492
// Calling this to set State to the opened file
@@ -513,7 +513,7 @@ private void DiscordPresenceFile_Changed(object sender, RoutedEventArgs e)
513513
},
514514
Buttons = new Button[]
515515
{
516-
new Button() { Label = Constants.GetSPCodeText, Url = Constants.GitHubRepository }
516+
new Button() { Label = Constants.GetSPCodeText, Url = Constants.GitHubLatestRelease }
517517
}
518518
});
519519
// Calling this to set State to the opened file

0 commit comments

Comments
 (0)