mirror of
https://github.com/ZuneDev/ZuneModdingHelper.git
synced 2026-07-27 13:12:21 -07:00
Updated GitHub links from /YoshiAsk/ to /ZuneDev/
This commit is contained in:
@@ -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¤cy_code=USD";
|
public static readonly string DonateLink = "https://www.paypal.me/YoshiAsk";
|
||||||
|
|
||||||
protected override void OnStartup(StartupEventArgs e)
|
protected override void OnStartup(StartupEventArgs e)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -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 "Yoshi" Askharoun." FontWeight="SemiBold"/>
|
<Run Text="Developed by Joshua "Yoshi" Askharoun." FontWeight="SemiBold"/>
|
||||||
|
|||||||
@@ -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>()))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user