tkyaji / cordova-plugin-crypt-file

This plugin to encrypt the source files.
Apache License 2.0
178 stars 116 forks source link

Include and exclude directories #40

Open pporlan opened 7 years ago

pporlan commented 7 years ago

Normalize after_prepare,js and Decryptor class to work the same, allowing to include and exclude directories:

Delete full paths including slash: /home/proyect/www/lib/my_lib.js -> lib/my_lib.js (Encrypt) file:///android_asset/www/lib/my_lib.js -> lib/my_lib.js (Decrypt)

Fix Windows path separators (Encrypt) C:\Users\user1\proyect\www\lib\my_lib.js -> lib/my_lib.js (Encrypt)