Page 2 of 2

Re: [Beta]Plugin encryption

Posted: Wed Nov 01, 2017 9:50
by CommanderABab
It only encrypts folders in the root plugin directory.

Re: [Beta]Plugin encryption

Posted: Wed Nov 01, 2017 13:22
by Lobby
Please send me your files als well as your plugin file so I can test it myself.

Re: [Beta]Plugin encryption

Posted: Wed Nov 01, 2017 23:06
by Lobby
Please try to match the case (of letters) of image names in your plugins. Otherwise they might not be found...
Will be fixed.

Re: [Beta]Plugin encryption

Posted: Thu Nov 02, 2017 1:12
by Lobby
From ZipInputStream.available() Java Documentation:
Returns 0 after EOF has reached for the current entry data, otherwise always return 1.
Programs should not count on this method to return the actual number of bytes that could be read without blocking.
So this method should return a value >0 if there're data available to be read. Unfortunately it looks as if some implementations don't follow this documentation and return always 0. That's why it couldn't extract plugin files properly on some devices.

The fix is to ignore available() and just try to read the data :teach