From a2281e8b5b2e6b3b9f02ad8ed293166a486792cc Mon Sep 17 00:00:00 2001 From: neoshadow81 <68729424+neoshadow81@users.noreply.github.com> Date: Thu, 11 Dec 2025 12:36:42 +0100 Subject: [PATCH] Fix bad extensions in file field In the Path to KeepassXC application file field, the forced file extensions have already *. prefixed, and the field generator adds a new *. prefix, resulting in *.*. prefix that shows only files with a second dot in their name, excluding the KeypassXC executable file which has no dot and can't be selected ! This patch fixes this. --- main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.js b/main.js index 899a71c..6475a94 100644 --- a/main.js +++ b/main.js @@ -52,7 +52,7 @@ module.exports.templateTags = [{ displayName: 'Path to KeepassXC application', defaultValue: isMacOS ? '/Applications/' : isLinux ? _C.LINUX_PROXY : '', itemTypes: ['file'], - extensions: [].concat(isMacOS ? ['*.app'] : []).concat(isWindows ? ['*.exe'] : []), + extensions: [].concat(isMacOS ? ['app'] : []).concat(isWindows ? ['exe'] : []), help: () => { if (isMacOS) { return `Leave empty for default value of ${_C.DEFAULT_KEEPASSXC_MACOS}`