I though I would log the steps I needed to perform to upgrade my Plugins to simultaneously support UI5 and UI6.
[hr]
Issue #1 - Local Icons are now in /www/cmh_ui6/skins/default/icons
My Solution was to release a script (Make Sure it’s unique):
va-install.sh
Make sure you do not compress or encrypt it when saving in App Store.
The file contains the following:
if [[ -e /www/cmh ]]; then
cd /www/cmh/skins/default/icons/
ln -s /etc/cmh-ludl/VeraAlerts-48.png
fi
if [[ -e /www/cmh_ui6 ]]; then
cd /www/cmh_ui6/skins/default/icons/
ln -s /etc/cmh-ludl/VeraAlerts-48.png
fi
Then I added the following to the plugin init:
os.execute("/bin/sh /etc/cmh-ludl/va-install.sh")
os.remove("/etc/cmh-ludl/va-install.sh")
This script will have to evolve over time … I am going to release my icons to the /etc/cmh-ludl area. This also makes the APP-Store publishing simpler.