Sfoglia il codice sorgente

move sqlcipher to third-party

ppwwyyxx 10 anni fa
parent
commit
460a0b82d7

+ 3 - 0
.gitignore

@@ -1,2 +1,5 @@
 *.pyc
+*.sql
+output/
+resource
 *.db

+ 3 - 3
decrypt_db.sh

@@ -1,6 +1,6 @@
 #!/bin/bash -e
 # File: decrypt_db.sh
-# Date: Sun Feb 01 17:30:29 2015 +0800
+# Date: Tue Jun 16 22:18:40 2015 +0800
 # Author: Yuxin Wu <[email protected]>
 
 source compatibility.sh
@@ -33,9 +33,9 @@ echo "Dump decrypted database... "
 echo "Don't worry about libcrypt.so version warning."
 
 
-SQLCIPHER=./sqlcipher/$os/$version
+SQLCIPHER=./third-party/sqlcipher/$os/$version
 export LD_LIBRARY_PATH=$SQLCIPHER
-$SQLCIPHER/sqlcipher $MSGDB << EOF
+"$SQLCIPHER"/sqlcipher "$MSGDB" << EOF
 PRAGMA key='$KEY';
 PRAGMA cipher_use_hmac = off;
 ATTACH DATABASE "$output" AS db KEY "";

+ 0 - 0
sqlcipher/LICENSE → third-party/sqlcipher/LICENSE


+ 0 - 0
sqlcipher/README.md → third-party/sqlcipher/README.md


+ 0 - 0
sqlcipher/darwin/64bit/.libs/sqlite3 → third-party/sqlcipher/darwin/64bit/.libs/sqlite3


+ 0 - 0
sqlcipher/darwin/64bit/sqlcipher → third-party/sqlcipher/darwin/64bit/sqlcipher


+ 0 - 0
sqlcipher/linux/32bit/libsqlcipher.so.0 → third-party/sqlcipher/linux/32bit/libsqlcipher.so.0


+ 0 - 0
sqlcipher/linux/32bit/sqlcipher → third-party/sqlcipher/linux/32bit/sqlcipher


+ 0 - 0
sqlcipher/linux/64bit/libsqlcipher.so.0 → third-party/sqlcipher/linux/64bit/libsqlcipher.so.0


+ 0 - 0
sqlcipher/linux/64bit/sqlcipher → third-party/sqlcipher/linux/64bit/sqlcipher