-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create extension for keepass-plugin-*
pkgs
#222
Comments
example code currently in use
|
Comments/improvements to install script; open to suggestion/feedback. Double hash
|
$plugins = gci $installPath -Include "*.plgx" -Exclude "$packageName.plgx" -Recurse -File
foreach ($plugin in $plugins) {
if (Get-ChecksumValid -File $plugin.FullName -Checksum $checksum -ChecksumType $checksumType) {
Write-Warning "This plugin is already installed in KeePass. Removing `"$($plugin.FullName)`""
rm $plugin.FullName -force
} This wouldn't work for zip files since the checksum is auto-built from the download file
For previous two points, probably default to do nothing and provide pkg parameters. It stands to reason it would only be of real benefit once when migrating to choco to manage keepass plugins and indicate conflicts. As long as choco is used for install/uninstall of plugins, there shouldn't be a reason to verify checksums at every pkg upgrade. Loading is done alphabetically in precedence of |
KeePass Plugin KeeAutoExec 2.2 I can't see the suggested changes in the chocolateyInstall.ps1 |
@tunisiano187 sounds good to me. |
Note
>=2.34, plugins are only loaded from application directory or
Plugins
sub-directory.http://keepass.info/news/n160611_2.34.html
The text was updated successfully, but these errors were encountered: