mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-31 22:47:51 +00:00
chrome: avoid hard coding settings addon id
This commit is contained in:
parent
48c3c90f05
commit
855c547f77
@ -98,5 +98,8 @@ addon() {
|
|||||||
|
|
||||||
# unclutter
|
# unclutter
|
||||||
cp -P $(get_build_dir unclutter)/.install_pkg/usr/bin/unclutter $ADDON_BUILD/$PKG_ADDON_ID/bin
|
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
|
import subprocess
|
||||||
from xml.dom.minidom import parse
|
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
|
import oe
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user