diff --git a/keepass-enable-local-help.patch b/keepass-enable-local-help.patch deleted file mode 100644 index 57c7f7a..0000000 --- a/keepass-enable-local-help.patch +++ /dev/null @@ -1,49 +0,0 @@ -diff -ur /tmp/keepass-2.39/KeePass/App/AppHelp.cs ./KeePass/App/AppHelp.cs ---- /tmp/keepass-2.39/KeePass/App/AppHelp.cs 2018-04-13 14:55:18.000000000 +0100 -+++ ./KeePass/App/AppHelp.cs 2018-05-07 09:50:23.881108244 +0100 -@@ -58,7 +58,7 @@ - { - if(m_strLocalHelpFile == null) return false; - -- try { return File.Exists(m_strLocalHelpFile); } -+ try { return Directory.Exists(@"/usr/share/doc/keepass/Chm/help/"); } - catch(Exception) { } - return false; - } -@@ -115,13 +115,12 @@ - { - Debug.Assert(m_strLocalHelpFile != null); - -- // Unblock CHM file for proper display of help contents -- WinUtil.RemoveZoneIdentifier(m_strLocalHelpFile); -- -- string strCmd = "\"ms-its:" + m_strLocalHelpFile; -+ string strCmd = "/usr/share/doc/keepass/Chm/help/"; - - if(strTopic != null) -- strCmd += "::/help/" + strTopic + ".html"; -+ strCmd += strTopic + ".html"; -+ else -+ strCmd += "../index.html"; - - if(strSection != null) - { -@@ -129,16 +128,14 @@ - strCmd += "#" + strSection; - } - -- strCmd += "\""; -- - try - { -- Process p = Process.Start(WinUtil.LocateSystemApp("hh.exe"), strCmd); -+ Process p = Process.Start(strCmd); - if(p != null) p.Dispose(); - } - catch(Exception ex) - { -- MessageService.ShowWarning("HH.exe " + strCmd, ex); -+ MessageService.ShowWarning(strCmd, ex); - } - } -