Updated GitHub links from /YoshiAsk/ to /ZuneDev/

This commit is contained in:
Yoshi Askharoun
2021-05-26 11:44:41 -05:00
parent 415f9c1b45
commit 3b23bbf557
3 changed files with 7 additions and 6 deletions
+2 -2
View File
@@ -11,13 +11,13 @@ namespace ZuneModdingHelper
/// </summary> /// </summary>
public partial class App : Application public partial class App : Application
{ {
public static readonly string Title = "Zune Modding Helper"; public static readonly string Title = "Zune Modding Helper";
public static readonly Version VersionNum = new(2021, 5, 6, 0); public static readonly Version VersionNum = new(2021, 5, 6, 0);
public static readonly string VersionStatus = "alpha"; public static readonly string VersionStatus = "alpha";
public static readonly string Version = VersionNum.ToString() + (VersionStatus != string.Empty ? "-" + VersionStatus : string.Empty); public static readonly string Version = VersionNum.ToString() + (VersionStatus != string.Empty ? "-" + VersionStatus : string.Empty);
public static readonly string DonateLink = "https://www.paypal.com/donate?business=38QWBDS9PJUAQ&currency_code=USD"; public static readonly string DonateLink = "https://www.paypal.me/YoshiAsk";
protected override void OnStartup(StartupEventArgs e) protected override void OnStartup(StartupEventArgs e)
{ {
+2 -2
View File
@@ -35,10 +35,10 @@
<TextBlock FontSize="14" Padding="16" TextWrapping="Wrap"> <TextBlock FontSize="14" Padding="16" TextWrapping="Wrap">
<Run Text="{x:Static local:App.Title}" FontWeight="Bold" FontSize="16"/><LineBreak/> <Run Text="{x:Static local:App.Title}" FontWeight="Bold" FontSize="16"/><LineBreak/>
<Run Text="{x:Static local:App.Version}"/><LineBreak/> <Run Text="{x:Static local:App.Version}"/><LineBreak/>
<Hyperlink NavigateUri="https://github.com/yoshiask/ZuneModdingHelper" RequestNavigate="Link_RequestNavigate"> <Hyperlink NavigateUri="https://github.com/ZuneDev/ZuneModdingHelper" RequestNavigate="Link_RequestNavigate">
<Run Text="View source"/> <Run Text="View source"/>
</Hyperlink><LineBreak/> </Hyperlink><LineBreak/>
<Hyperlink NavigateUri="https://github.com/yoshiask/ZuneModdingHelper/releases" RequestNavigate="Link_RequestNavigate"> <Hyperlink NavigateUri="https://github.com/ZuneDev/ZuneModdingHelper/releases" RequestNavigate="Link_RequestNavigate">
<Run Text="View releases"/> <Run Text="View releases"/>
</Hyperlink><LineBreak/><LineBreak/> </Hyperlink><LineBreak/><LineBreak/>
<Run Text="Developed by Joshua &quot;Yoshi&quot; Askharoun." FontWeight="SemiBold"/> <Run Text="Developed by Joshua &quot;Yoshi&quot; Askharoun." FontWeight="SemiBold"/>
+3 -2
View File
@@ -159,8 +159,9 @@ namespace ZuneModdingHelper
checkDialog.SetIndeterminate(); checkDialog.SetIndeterminate();
// Get releases list from GitHub // Get releases list from GitHub
List<JObject> releases = await "https://api.github.com/repos/yoshiask/ZuneModdingHelper/releases" List<JObject> releases = await "https://api.github.com/repos/ZuneDev/ZuneModdingHelper/releases"
.WithHeader("User-Agent", App.Title).GetJsonAsync<List<JObject>>(); .WithHeader("User-Agent", App.Title.Replace(" ", "") + "/" + App.Version)
.GetJsonAsync<List<JObject>>();
JObject latest = releases[0]; JObject latest = releases[0];
if (!App.CheckIfNewerVersion(latest["tag_name"].Value<string>())) if (!App.CheckIfNewerVersion(latest["tag_name"].Value<string>()))
{ {