diff options
author | Nicole Angel <nikki@mailbox.org> | 2015-11-22 18:21:13 +0100 |
---|---|---|
committer | Rok Garbas <rok@garbas.si> | 2015-12-23 02:12:36 +0100 |
commit | 90e881eece9f5125d03a0c8b390651b4486fa5e7 (patch) | |
tree | 6bf0f8dfe4ebe962dd5140481ac4b88bb93bae09 /pkgs/applications/misc/keepass/keepass-plugins.patch | |
parent | e99beec0e16539c47c783b84592b79c088956527 (diff) | |
download | nixlib-90e881eece9f5125d03a0c8b390651b4486fa5e7.tar nixlib-90e881eece9f5125d03a0c8b390651b4486fa5e7.tar.gz nixlib-90e881eece9f5125d03a0c8b390651b4486fa5e7.tar.bz2 nixlib-90e881eece9f5125d03a0c8b390651b4486fa5e7.tar.lz nixlib-90e881eece9f5125d03a0c8b390651b4486fa5e7.tar.xz nixlib-90e881eece9f5125d03a0c8b390651b4486fa5e7.tar.zst nixlib-90e881eece9f5125d03a0c8b390651b4486fa5e7.zip |
keepass: load plugins from store paths, fixes #11206
Diffstat (limited to 'pkgs/applications/misc/keepass/keepass-plugins.patch')
-rw-r--r-- | pkgs/applications/misc/keepass/keepass-plugins.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/pkgs/applications/misc/keepass/keepass-plugins.patch b/pkgs/applications/misc/keepass/keepass-plugins.patch new file mode 100644 index 000000000000..1a32d77806a4 --- /dev/null +++ b/pkgs/applications/misc/keepass/keepass-plugins.patch @@ -0,0 +1,14 @@ +--- old/KeePass/Forms/MainForm.cs ++++ new/KeePass/Forms/MainForm.cs +@@ -384,9 +384,$OUTPUT_LC$ @@ namespace KeePass.Forms + m_pluginManager.Initialize(m_pluginDefaultHost); + + m_pluginManager.UnloadAllPlugins(); +- if(AppPolicy.Current.Plugins) +- m_pluginManager.LoadAllPlugins(UrlUtil.GetFileDirectory( +- WinUtil.GetExecutable(), false, true)); ++ if(AppPolicy.Current.Plugins) { +$DO_LOADS$+ } + + // Delete old files *after* loading plugins (when timestamps + // of loaded plugins have been updated already) |