Skip to content

Commit 78d44bd

Browse files
authored
Merge pull request #177 from GH-Rake/master
Fix RegisterExtension double quoted path
2 parents 7406e05 + b54f55b commit 78d44bd

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

ReClass.NET/Native/NativeMethods.Windows.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -188,11 +188,6 @@ public bool RegisterExtension(string fileExtension, string extensionId, string a
188188

189189
using (var icon = extensionInfoKey?.CreateSubKey("DefaultIcon"))
190190
{
191-
if (applicationPath.IndexOfAny(new[] { ' ', '\t' }) < 0)
192-
{
193-
applicationPath = "\"" + applicationPath + "\"";
194-
}
195-
196191
icon?.SetValue(string.Empty, "\"" + applicationPath + "\",0", RegistryValueKind.String);
197192
}
198193

0 commit comments

Comments
 (0)