mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 22:26:42 +00:00
chrome: avoid hard coding settings addon id
This commit is contained in:
parent
48c3c90f05
commit
855c547f77
@ -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"
|
||||
}
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user