Correct zxcvbn build on windows & snap build

This commit is contained in:
Jonathan White 2018-02-21 21:27:19 -05:00
parent ea33caa1a8
commit 69283e83d8
No known key found for this signature in database
GPG Key ID: 440FC65F2E0C6E01
3 changed files with 8 additions and 6 deletions

View File

@ -676,7 +676,7 @@ build() {
# release.
cpack -G "NSIS;ZIP;${CPACK_GENERATORS}"
mv "./${APP_NAME}-${RELEASE_NAME}-"*.* ../
mv "./${APP_NAME}-"*.* ../
else
mkdir -p "${OUTPUT_DIR}/bin-release"

View File

@ -1,5 +1,5 @@
name: keepassxc
version: 2.2.4
version: 2.3.0-beta1
grade: stable
summary: Community-driven port of the Windows application “KeePass Password Safe”
description: |
@ -16,6 +16,9 @@ apps:
cli:
command: keepassxc-cli
plugs: [gsettings, home, removable-media, raw-usb]
proxy:
command: keepassxc-proxy
plugs: [home]
parts:
keepassxc:
@ -26,10 +29,7 @@ parts:
- -DCMAKE_INSTALL_PREFIX=/usr
- -DKEEPASSXC_DIST_TYPE=Snap
- -DWITH_TESTS=OFF
- -DWITH_XC_AUTOTYPE=ON
- -DWITH_XC_HTTP=ON
- -DWITH_XC_YUBIKEY=ON
- -DWITH_XC_BROWSER=ON
- -DWITH_XC_ALL=ON
build-packages:
- g++
- libgcrypt20-dev

View File

@ -45,9 +45,11 @@
#endif
/* For pre-compiled headers under windows */
#ifndef __MINGW32__
#ifdef _WIN32
#include "stdafx.h"
#endif
#endif
/* Minimum number of characters in a incrementing/decrementing sequence match */
#define MIN_SEQUENCE_LEN 3