mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
scripts/create_addon: workaround for pvr addons
- the pvr addons are still in the old addon format
This commit is contained in:
parent
662c131cf6
commit
219cef4346
@ -137,6 +137,12 @@ pack_addon() {
|
||||
mkdir -p $ADDON_INSTALL_DIR/resources
|
||||
cp $ADDON_BUILD/$PKG_ADDON_ID/resources/icon.png $ADDON_INSTALL_DIR/resources/icon.png
|
||||
fi
|
||||
|
||||
# workaround for kodi pvr addons
|
||||
if [ -f $ADDON_BUILD/$PKG_ADDON_ID/icon.png ]; then
|
||||
cp $ADDON_BUILD/$PKG_ADDON_ID/icon.png $ADDON_INSTALL_DIR/icon.png
|
||||
fi
|
||||
|
||||
if [ -f $ADDON_BUILD/$PKG_ADDON_ID/resources/fanart.png ]; then
|
||||
mkdir -p $ADDON_INSTALL_DIR/resources
|
||||
cp $ADDON_BUILD/$PKG_ADDON_ID/resources/fanart.png $ADDON_INSTALL_DIR/resources/fanart.png
|
||||
|
Loading…
x
Reference in New Issue
Block a user