Quote:
Originally Posted by samson_420
TRY THIS @ YOUR OWN RISK.
I just installed this crap, then tried to uninstall.
My phone froze, so I tried a reboot. I am currently stuck at the boot logo with the spinning wheel of death.
THIS IS CRAP !
|
This was post on another forum by Sakurina, the developer of 5-column SB (fcsb), and it's directed to Gi-lo, the developer of 5iRows. It may put things in perspectives and explain problems (btw, Sakurina is totally right on uninstalling fcsb, it messed up all my icons; the implication of all this is that when a new firmware comes up snd you want to upgrade, this sort of apps -I would include Categories in this family- may create some serious problems, so beware):
You say "they can work together", Gi-lo, but the uninstall will most likely mess something up.
You never actually answered when I asked if you have an uninstall task that'll reorganize your icons properly to make sure the plist doesn't mess up. This is crucial. And very challenging.
The main reason FCSB 0.56 is not out right now is that the uninstall process is incredibly hard to do right. It worked fine in 0.55 but it was hardcoded to support 4 columns. If someone uninstalls FCSB while your extension is installed, it will (in the best case scenario) reorder their icons. In the worst case scenario, it may cause SpringBoard to stop launching altogether.
I'm having enough trouble with my issues right now that if I try to code in compatibility for a varying amount of rows, people will probably never see FCSB out on Cydia. I'm not saying I'll never do it, but it is not in my priorities for the near future.
If your extension does not have a prerm:
- Most community sources will not even want to host it
- You are going to cause people to whine and moan because their icons aren't placed correctly after uninstall
- You are automatically ruling out use on any firmwares lower than 2.2 (though you can run into hardcore issues with Safe Mode even with a prerm on firmwares <2.2)
Doing anything that messes with the dimensions of the icon matrix is easy, but making sure it uninstalls cleanly is far from it.
Adding a fifth column to the icon matrix is essentially a 4-line method hook. This excludes actually making it display correctly on the screen, but to tell the system "you have 5 columns now" really only requires 4 lines of code.
Just for those 4 lines of code, I have a 154-line prerm that makes sure the plist is fine on uninstall. And it isn't even fully working yet. FCSB was a nice first project, but I strongly encourage people to avoid messing with iconMatrix, because it'll make uninstall processes a compatibility hell. For everyone.
Luckily, there is a good solution to this. It's called Conflicts: and it's the field in Debian control files that says "don't let the user install this if this other package is installed". Until I actually code in compatibility for variable rows, which will most likely not happen for a long time, your tweak will be in the Conflicts field, and will keep people from installing both at the same time.