Skip to content

Commit 5879c8a

Browse files
committed
Fixed opening help and license file
1 parent 25cb23f commit 5879c8a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PK Finder/Windows/MainWindow.xaml.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ private void HelpItem_OnClick(object sender, RoutedEventArgs e)
240240
{
241241
try
242242
{
243-
Process.Start(AppDomain.CurrentDomain.BaseDirectory + "\\help.pdf");
243+
Process.Start(new ProcessStartInfo(AppDomain.CurrentDomain.BaseDirectory + "help.pdf") { UseShellExecute = true });
244244
}
245245
catch (Exception ex)
246246
{
@@ -292,7 +292,7 @@ private void LicenseItem_OnClick(object sender, RoutedEventArgs e)
292292
{
293293
try
294294
{
295-
Process.Start(AppDomain.CurrentDomain.BaseDirectory + "\\gpl.pdf");
295+
Process.Start(new ProcessStartInfo(AppDomain.CurrentDomain.BaseDirectory + "license.pdf") { UseShellExecute = true });
296296
}
297297
catch (Exception ex)
298298
{

0 commit comments

Comments
 (0)