voice works

This commit is contained in:
ppwwyyxx
2014-11-23 17:53:00 +08:00
parent bcc5925a55
commit a86e63cb7f
6 changed files with 63 additions and 16 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
#!/bin/bash -e
# File: decrypt_db.sh
# Date: Fri Nov 21 13:07:33 2014 +0800
# Date: Sun Nov 23 16:46:51 2014 +0800
# Author: Yuxin Wu <[email protected]>
MMSGDB=$1
@@ -18,6 +18,6 @@ LD_LIBRARY_PATH=./lib ./lib/sqlcipher $MMSGDB << EOF
PRAGMA key='$KEY';
PRAGMA cipher_use_hmac = off;
ATTACH DATABASE "decrypted_database.db" AS decrypted_database KEY "";
SELECT sqlcipher_export("decrypted_database");
SELECT sqlcipher_export("decrypted_db");
DETACH DATABASE decrypted_database;
EOF