mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 21:26:49 +00:00
repo-tool: add retroplayer support
This commit is contained in:
parent
3e00e3b8ba
commit
450237dca4
@ -91,7 +91,7 @@ upload() {
|
|||||||
fi
|
fi
|
||||||
touch_addons_xml
|
touch_addons_xml
|
||||||
update_addons_xml
|
update_addons_xml
|
||||||
rsync -av --progress --delete target/addons/$ADDON_VERSION $RSYNC_REPO
|
rsync -av --progress --delete "$RSYNC_SHELL" target/addons/$ADDON_VERSION $RSYNC_REPO
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
@ -137,11 +137,11 @@ update_repo_version() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
usage() {
|
usage() {
|
||||||
echo " usage: $0 -u to upload"
|
echo " usage: $0 -u to upload"
|
||||||
echo " $0 -b binary|official|all [project-name] to build [for a single project]"
|
echo " $0 -b binary|retroplayer|official|all [project-name] to build [for a single project]"
|
||||||
echo " $0 -ru to update PKG_REV"
|
echo " $0 -ru to update PKG_REV"
|
||||||
echo " $0 -rv to update PKG_ADDON_REPOVERSION"
|
echo " $0 -rv to update PKG_ADDON_REPOVERSION"
|
||||||
echo " $0 -xml to update the addons.xml"
|
echo " $0 -xml to update the addons.xml"
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ "$1" = "-b" -a -z "$2" ]; then
|
if [ "$1" = "-b" -a -z "$2" ]; then
|
||||||
@ -152,6 +152,9 @@ elif [ "$1" = "-b" -a -n "$2" ]; then
|
|||||||
binary)
|
binary)
|
||||||
repo="packages/mediacenter/kodi-binary-addons"
|
repo="packages/mediacenter/kodi-binary-addons"
|
||||||
;;
|
;;
|
||||||
|
retroplayer)
|
||||||
|
repo="packages/mediacenter/kodi-binary-addons/game.libretro.*"
|
||||||
|
;;
|
||||||
official)
|
official)
|
||||||
repo="packages/addons"
|
repo="packages/addons"
|
||||||
;;
|
;;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user