2
0
mirror of https://github.com/9ParsonsB/Pulsar.git synced 2025-07-01 16:33:43 -04:00

Added github and donate links.

This commit is contained in:
Xjph
2021-06-06 13:53:52 -02:30
parent c1b3a610c3
commit c76152d706
2 changed files with 43 additions and 9 deletions

View File

@ -1,6 +1,7 @@
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Data;
using System.Diagnostics;
using System.Linq;
using Avalonia.Controls;
using Observatory.Framework.Interfaces;
@ -83,6 +84,20 @@ namespace Observatory.UI.ViewModels
}
}
public void OpenGithub()
{
ProcessStartInfo githubOpen = new("https://github.com/Xjph/ObservatoryCore");
githubOpen.UseShellExecute = true;
Process.Start(githubOpen);
}
public void OpenDonate()
{
ProcessStartInfo donateOpen = new("https://paypal.me/eliteobservatory");
donateOpen.UseShellExecute = true;
Process.Start(donateOpen);
}
public string ToggleButtonText
{
get => toggleButtonText;