diff --git a/SuperLauncher/CredentialManager.cs b/SuperLauncher/CredentialManager.cs
index b82991a..50f8597 100644
--- a/SuperLauncher/CredentialManager.cs
+++ b/SuperLauncher/CredentialManager.cs
@@ -1,5 +1,4 @@
-using System;
-using System.Runtime.InteropServices;
+using System.Runtime.InteropServices;
using System.Text;
namespace SuperLauncher
diff --git a/SuperLauncher/ModernLauncherContextMenuMain.xaml.cs b/SuperLauncher/ModernLauncherContextMenuMain.xaml.cs
index 3c0be2e..3b15067 100644
--- a/SuperLauncher/ModernLauncherContextMenuMain.xaml.cs
+++ b/SuperLauncher/ModernLauncherContextMenuMain.xaml.cs
@@ -44,7 +44,7 @@ private void BtnSettings_MouseUp(object sender, MouseButtonEventArgs e)
}
private void BtnViewConfig_MouseUp(object sender, MouseButtonEventArgs e)
{
- Process.Start("OpenWith.exe", "\"" + Settings.Default.configPath + "\"");
+ Process.Start("notepad.exe", "\"" + Settings.Default.configPath + "\"");
}
private void BtnElevate_MouseUp(object sender, MouseButtonEventArgs e)
{
@@ -60,7 +60,11 @@ private void Page_Loaded(object sender, RoutedEventArgs e)
}
private void BtnHelp_MouseUp(object sender, MouseButtonEventArgs e)
{
- Process.Start("OpenWith.exe", "https://github.com/belowaverage-org/SuperLauncher/wiki");
+ Process.Start(new ProcessStartInfo()
+ {
+ FileName = "https://github.com/belowaverage-org/SuperLauncher/wiki",
+ UseShellExecute = true
+ });
}
private void Page_Unloaded(object sender, RoutedEventArgs e)
{
diff --git a/SuperLauncher/ModernLauncherShared.cs b/SuperLauncher/ModernLauncherShared.cs
index 72472c5..0494102 100644
--- a/SuperLauncher/ModernLauncherShared.cs
+++ b/SuperLauncher/ModernLauncherShared.cs
@@ -1,6 +1,5 @@
using Microsoft.Win32;
using System;
-using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.Threading.Tasks;
diff --git a/SuperLauncherCommon/Splash.xaml b/SuperLauncherCommon/Splash.xaml
index 77a34f0..3c20c28 100644
--- a/SuperLauncherCommon/Splash.xaml
+++ b/SuperLauncherCommon/Splash.xaml
@@ -23,7 +23,8 @@
-
+
+
diff --git a/SuperLauncherCommon/Splash.xaml.cs b/SuperLauncherCommon/Splash.xaml.cs
index 955434e..7b4f5c7 100644
--- a/SuperLauncherCommon/Splash.xaml.cs
+++ b/SuperLauncherCommon/Splash.xaml.cs
@@ -91,7 +91,11 @@ private void Window_Initialized(object sender, EventArgs e)
private void Website_MouseUp(object sender, System.Windows.Input.MouseButtonEventArgs e)
{
e.Handled = true;
- Process.Start("OpenWith.exe", Site);
+ Process.Start(new ProcessStartInfo()
+ {
+ FileName = Site,
+ UseShellExecute = true
+ });
}
private void Window_MouseUp(object sender, System.Windows.Input.MouseButtonEventArgs e)
{