mirror of
https://github.com/n00mkrad/flowframes.git
synced 2025-12-24 04:09:29 +01:00
Fix link buttons
This commit is contained in:
@@ -371,17 +371,17 @@ namespace Flowframes
|
||||
|
||||
private void discordBtn_Click(object sender, EventArgs e)
|
||||
{
|
||||
Process.Start("https://discord.gg/eJHD2NSJRe");
|
||||
Process.Start(new ProcessStartInfo("https://discord.gg/eJHD2NSJRe") { UseShellExecute = true });
|
||||
}
|
||||
|
||||
private void paypalBtn_Click(object sender, EventArgs e)
|
||||
{
|
||||
Process.Start("https://www.paypal.com/paypalme/nmkd/10");
|
||||
Process.Start(new ProcessStartInfo("https://www.paypal.com/paypalme/nmkd/10") { UseShellExecute = true });
|
||||
}
|
||||
|
||||
private void patreonBtn_Click(object sender, EventArgs e)
|
||||
{
|
||||
Process.Start("https://patreon.com/n00mkrad");
|
||||
Process.Start(new ProcessStartInfo("https://patreon.com/n00mkrad") { UseShellExecute = true });
|
||||
}
|
||||
|
||||
private void settingsBtn_Click(object sender, EventArgs e)
|
||||
|
||||
@@ -69,14 +69,14 @@ namespace Flowframes.Forms
|
||||
{
|
||||
string link = Updater.GetLatestVerLink(true);
|
||||
if(!string.IsNullOrWhiteSpace(link))
|
||||
Process.Start(link);
|
||||
Process.Start(new ProcessStartInfo(link) { UseShellExecute = true });
|
||||
}
|
||||
|
||||
private void updateFreeBtn_Click(object sender, EventArgs e)
|
||||
{
|
||||
string link = Updater.GetLatestVerLink(false);
|
||||
if (!string.IsNullOrWhiteSpace(link))
|
||||
Process.Start(link);
|
||||
Process.Start(new ProcessStartInfo(link) { UseShellExecute = true });
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -288,7 +288,7 @@ namespace Flowframes
|
||||
hasShownError = true;
|
||||
InterpolateUtils.ShowMessage($"A python module is missing.\nCheck {logFilename} for details.\n\n{line}", "Error");
|
||||
if(!Python.HasEmbeddedPyFolder())
|
||||
Process.Start("https://github.com/n00mkrad/flowframes/blob/main/PythonDependencies.md");
|
||||
Process.Start(new ProcessStartInfo("https://github.com/n00mkrad/flowframes/blob/main/PythonDependencies.md") { UseShellExecute = true });
|
||||
}
|
||||
|
||||
if (!hasShownError && line.ToLower().Contains("no longer supports this gpu"))
|
||||
|
||||
Reference in New Issue
Block a user