I am not the kind of professional programmer. However I have made the script which is associated with dvt_check of pbarrette. The script named HyperNote is providing a manager from the third party package and it starts a menu manager. The Archive is present into the HyperNoteSDK which is containing the example to create the package and library. Let me know if you are having any speculation on this particular matter.
Can you post the correct version of the ./MenuManagerBackup.xm? if you are having the correct file then you will be able to copy the HyperNoteMenuManager.sh to /MenuManagerBackup.xml and /eTablet/etc/launcher/Config.xml. Let me know whether the thing which I have mentioned over here is useful to get the requirement of yours.
Well looking at the matter I am suggesting that you need to add the default function over there. It would make the user to easy to use the game. You can try with changing the name of the dvt_check. It would be the most efficient solution to make the thing working for you. You should also try to add menu default button in to the application and see whether it is working or not. So try the same and let me know whether it is working or not.
PackageTemplate_Install
PackageTemplate_Update
PackageTemplate_UnIntstall
Let me know whether it is working or not.
Looking the situation I recommend that you have to add the utilty session of the relative button.
I think you might need to update the dimension so that you can find out whether the installation is need to update. Well I am suggesting following code which you should try and see whether it is working or not.
Code:
PackageTemplate_GetState()
{
CURRENT_STATE=$UNKNOWN
if ! [ -e /usr/local/eTablet/bin/kinglo/kinglo ]; then
CURRENT_STATE=$NOTINSTALLED
else
size=`ls -l /usr/local/eTablet/bin/kinglo/kinglo | awk '{print $5}'`
if [ $size -ne 258851 ]; then
CURRENT_STATE=$NOTUPDATED
else
CURRENT_STATE=$INSTALLED
fi
fi
Why Hyper Note Package manager