Open pporlan opened 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)
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)