Plugin encryption (create .plugin file)
-
Lobby
- Inhabitant of a Supercluster
- Reactions:
- Posts: 3760
- Joined: 26 Oct 2008, 10:34
- Plugins: Showcase Store
Re: [Beta]Plugin encryption
Please send me your files als well as your plugin file so I can test it myself.
-
Lobby
- Inhabitant of a Supercluster
- Reactions:
- Posts: 3760
- Joined: 26 Oct 2008, 10:34
- Plugins: Showcase Store
Re: [Beta]Plugin encryption
Please try to match the case (of letters) of image names in your plugins. Otherwise they might not be found...
Will be fixed.
Will be fixed.
-
Lobby
- Inhabitant of a Supercluster
- Reactions:
- Posts: 3760
- Joined: 26 Oct 2008, 10:34
- Plugins: Showcase Store
Re: [Beta]Plugin encryption
From ZipInputStream.available() Java Documentation:
The fix is to ignore available() and just try to read the data
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.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.
The fix is to ignore available() and just try to read the data
-
Yakka Works
- Inhabitant of a Conurbation
- Reactions:
- Posts: 412
- Joined: 06 Jan 2020, 07:57
- Location: Java-indonesia
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: Plugin encryption (create .plugin file)
ThanksLobby wrote: 04 Oct 2017, 23:55 Screenshot_20171005-014645.pngScreenshot_20171005-014903.pngScreenshot_20171005-014917.png
![]()