Skip to content

Commit

Permalink
Correct zxcvbn build on windows & snap build
Browse files Browse the repository at this point in the history
  • Loading branch information
droidmonkey committed Feb 22, 2018
1 parent ea33caa commit 69283e8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion release-tool
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
10 changes: 5 additions & 5 deletions snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -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: |
Expand All @@ -16,6 +16,9 @@ apps:
cli:
command: keepassxc-cli
plugs: [gsettings, home, removable-media, raw-usb]
proxy:
command: keepassxc-proxy
plugs: [home]

parts:
keepassxc:
Expand All @@ -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
Expand Down
2 changes: 2 additions & 0 deletions src/zxcvbn/zxcvbn.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 69283e8

Please sign in to comment.