12.Icon
Fetch Icon/Logo file from Remote/Local (SBUILD) Source (TYPE: NON_ENFORCED)
#Example ONLY
icon:
#Can contain one of (or all of): url, file, dir
#If it contains multiple (or all), the builder WILL STOP UPON FIRST successful Icon/Log file MATCH (Tries PNG, else SVG)
url: "#A Direct RAW URL to download a icon/logo file"
file: "#A Direct PATH to a icon/logo file from ${SBUILD_OUTDIR} | ${SBUILD_TMPDIR}"
dir: "#A Direct PATH to a Directory that contains at least 1 icon/logo"
#Another Example
icon:
#Can contain one of (or all of): url, file, dir
url: "https://example.com/example.png"
#If you only use `/example.png` or `example.png`, it is assumed as: ${SBUILD_OUTDIR}/example.png
#Here, we specify explictly to use ${SBUILD_TMPDIR}
file: "${SBUILD_TMPDIR}/example.png"
#You can just use `/usr/share` or `usr/share`, it is assumed as: ${SBUILD_OUTDIR}/usr/share
dir: "usr/share" #will search in ${SBUILD_OUTDIR}/usr/share
Last updated
Was this helpful?