Fix update of deleted files

master
Benny Li 2015-05-26 08:54:19 +02:00
parent 4b25effbc9
commit 6f99c58c4c
2 changed files with 5 additions and 0 deletions

View File

@ -16,3 +16,5 @@ Currently packaged is the ownCloud client version 1.8.0 (build 4893) from https:
### 7-Zip
For encrypted packaging a 7za.exe is included. This is the official portable one in version 9.38 beta from http://www.7-zip.org/download.html.
If you ask yourself if 7-Zip is secure enough, please reefer to http://security.stackexchange.com/questions/29375/is-7-zips-aes-encryption-just-as-secure-as-truecrypts-version.

View File

@ -31,6 +31,9 @@ echo Starting ownCloud client. >> %LOG_FILE%
START /WAIT ownCloudPortable\ownCloudPortable.exe >> %LOG_FILE%
echo Encrypting ownCloud client and data... >> %LOG_FILE%
:: First we need to remove the old mutable data to guarantee deletion of files.
%SEVENEXE% d documents-sync.7z ownCloudPortable/Data/* -r -p%PASSWD% -y >> %LOG_FILE%
%SEVENEXE% d documents-sync.7z Documents/* -r -p%PASSWD% -y >> %LOG_FILE%
:: Explanation:
:: -mhe to encrypt headers so nobody can browse the archive
:: -mx0 to not compress the archiv (only for performance)