--- a/KeePass/App/AppDefs.cs +++ b/KeePass/App/AppDefs.cs @@ -44,6 +44,8 @@ namespace KeePass.App public static readonly string PluginsDir = "Plugins"; public static readonly string PluginProductName = "KeePass Plugin"; + public const string DebianDataDir = "/usr/share/keepass/"; + public static readonly string XslFilesDir = "XSL"; public static readonly string XslFileHtmlFull = "KDBX_DetailsFull_HTML.xsl"; public static readonly string XslFileHtmlLight = "KDBX_DetailsLight_HTML.xsl"; --- a/KeePass/Forms/AboutForm.cs +++ b/KeePass/Forms/AboutForm.cs @@ -132,7 +132,7 @@ namespace KeePass.Forms m_lvComponents.Columns.Add(KPRes.Component, 100); m_lvComponents.Columns.Add(strValueColumn, 100); - string strExe = WinUtil.GetExecutable(); + string strExe = AppDefs.DebianDataDir; string strDir = UrlUtil.GetFileDirectory(strExe, true, false); AddComponentItem(PwDefs.ShortProductName, strMainVersion, strExe);