From: Austin English austinenglish@gmail.com
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=25872 --- dlls/mshtml/mshtml.inf | 2 ++ loader/wine.inf.in | 3 +++ 2 files changed, 5 insertions(+)
diff --git a/dlls/mshtml/mshtml.inf b/dlls/mshtml/mshtml.inf index 3e05d849fe3..80180cde82f 100644 --- a/dlls/mshtml/mshtml.inf +++ b/dlls/mshtml/mshtml.inf @@ -278,6 +278,8 @@ HKCR,".tiff","Content Type",,"image/tiff" HKCR,"MIME\Database\Content Type\text/plain","CLSID",,"%CLSID_HTMLDocument%" HKCR,"MIME\Database\Content Type\text/plain","Extension",,".txt" HKCR,"MIME\Database\Content Type\text/plain","Encoding",1,07,00,00,00 +HKCR,".log",,,"logfile" +HKCR,".log","Content Type",,"text/plain" HKCR,".txt",,,"txtfile" HKCR,".txt","Content Type",,"text/plain"
diff --git a/loader/wine.inf.in b/loader/wine.inf.in index e3426b7ec95..035faaa63c7 100644 --- a/loader/wine.inf.in +++ b/loader/wine.inf.in @@ -312,6 +312,9 @@ HKCR,lnkfile\CLSID,,2,"{00021401-0000-0000-C000-000000000046}" HKCR,lnkfile\shellex\IconHandler,,2,"{00021401-0000-0000-C000-000000000046}" HKCR,lnkfile\shellex\ContextMenuHandlers{00021401-0000-0000-C000-000000000046},,0x10, HKCR,MediaFoundation,,16 +HKCR,logfile,,2,"Text Document" +HKCR,logfile\shell\open\command,,2,"""%11%\notepad.exe"" ""%1""" +HKCR,logfile\shell\print\command,,2,"""%11%\notepad.exe"" /p ""%1""" HKCR,Msi.Package,,2,"Windows Installer Package" HKCR,Msi.Package\DefaultIcon,,2,"msiexec.exe" HKCR,Msi.Package\shell\Open\command,,2,"%11%\msiexec.exe /i ""%1"""
Alex Henrie (@alexhenrie) commented about dlls/mshtml/mshtml.inf:
HKCR,"MIME\Database\Content Type\text/plain","CLSID",,"%CLSID_HTMLDocument%" HKCR,"MIME\Database\Content Type\text/plain","Extension",,".txt" HKCR,"MIME\Database\Content Type\text/plain","Encoding",1,07,00,00,00 +HKCR,".log",,,"logfile"
On Windows, both `.log` and `.txt` are `txtfile`, and there is no `logfile`. Why not do the same in Wine?