Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dylan Bickerstaff committed Mar 26, 2024
1 parent b1c5d74 commit 24b2bc8
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 7 deletions.
3 changes: 1 addition & 2 deletions SuperLauncher/CredentialManager.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using System.Runtime.InteropServices;
using System.Runtime.InteropServices;
using System.Text;

namespace SuperLauncher
Expand Down
8 changes: 6 additions & 2 deletions SuperLauncher/ModernLauncherContextMenuMain.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand All @@ -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)
{
Expand Down
1 change: 0 additions & 1 deletion SuperLauncher/ModernLauncherShared.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using Microsoft.Win32;
using System;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.Threading.Tasks;
Expand Down
3 changes: 2 additions & 1 deletion SuperLauncherCommon/Splash.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
</TransformGroup>
</Grid.RenderTransform>
<Image Source="/SuperLauncherCommon;component/Assets/sl_bg_border.png" Stretch="Fill" />
<Grid Margin="30,30,30,30">
<Grid Clip="{Binding RenderedGeometry, ElementName=Clip}" Margin="30,30,30,30">
<Rectangle x:Name="Clip" RadiusX="20" RadiusY="20" />
<Border BorderThickness="2,2,2,2" BorderBrush="#19FFFFFF" CornerRadius="20,20,20,20" ClipToBounds="True">
<Border.Background>
<ImageBrush ImageSource="/SuperLauncherCommon;component/Assets/sl_bg.png"/>
Expand Down
6 changes: 5 additions & 1 deletion SuperLauncherCommon/Splash.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 24b2bc8

Please sign in to comment.