Skip to content

Commit

Permalink
Merge pull request #66 from nref/bug/quote
Browse files Browse the repository at this point in the history
Fix wrong quoted string
  • Loading branch information
nref authored Dec 10, 2024
2 parents 2a63c3c + 4f0bd22 commit 5ec3e98
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions BrowseRouter/DefaultBrowserService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public class DefaultBrowserService(INotifyService notifier)
private const string _appID = "BrowseRouter";
private const string _appDescription = "Opens a different brower based on the URL";
private string AppIcon => App.ExePath + ",0";
private string AppOpenUrlCommand => $"{App.ExePath} %1".Quote();
private string AppOpenUrlCommand => $"{App.ExePath.Quote()} %1";

private string AppKey => $"SOFTWARE\\{_appID}";
private string UrlKey => $"SOFTWARE\\Classes\\{_appID}URL";
Expand Down Expand Up @@ -129,4 +129,4 @@ private void Unregister()
Actions.TryRun(() => Registry.CurrentUser.DeleteSubKeyTree(UrlKey));
Log.Write("Done");
}
}
}
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<LangVersion>latest</LangVersion>
<Version>0.13.1</Version>
<Version>0.13.2</Version>
<Product>BrowseRouter</Product>
<Copyright>EnduraByte LLC 2024</Copyright>
<!-- Reduces flagging as malware -->
Expand Down

0 comments on commit 5ec3e98

Please sign in to comment.