chrome: avoid hard coding settings addon id

This commit is contained in:
MilhouseVH 2019-11-17 04:37:10 +00:00
parent 48c3c90f05
commit 855c547f77
2 changed files with 5 additions and 2 deletions

View File

@ -98,5 +98,8 @@ addon() {
# unclutter
cp -P $(get_build_dir unclutter)/.install_pkg/usr/bin/unclutter $ADDON_BUILD/$PKG_ADDON_ID/bin
}
post_install_addon() {
sed -e "s/@DISTRO_PKG_SETTINGS_ID@/${DISTRO_PKG_SETTINGS_ID}/g" -i "${INSTALL}/default.py"
}

View File

@ -9,7 +9,7 @@ import xbmcaddon
import subprocess
from xml.dom.minidom import parse
sys.path.append('/usr/share/kodi/addons/service.libreelec.settings')
sys.path.append('/usr/share/kodi/addons/@DISTRO_PKG_SETTINGS_ID@')
import oe