# Template file for 'elementary' OSNAME="elementary" PRETTY="elementary OS" LOGO=" " ICON="elementary.svg" ICON_ONLINE="https://distrowatch.com/images/yvzhuwbpy/elementary.png" CATEGORY="Beginner" BASEDOF="Debian Ubuntu" HOMEPAGE="https://elementary.io" DESCRIPTION="Thoughtful, capable, and ethical replacement for Windows and macOS" CREDENTIALS="-" GPG="" RSS="" DW="" function releases_() { echo $(web_pipe "https://api.github.com/repos/elementary/os/releases?per_page=20" | grep -oP '"tag_name":\s*"\K[0-9.]+' | grep -v rc | head -n 10) } function get_() { local HASH="" case ${RELEASE} in 7.0) STAMP="20230129rc";; 7.1) STAMP="20230926rc";; 8.0) STAMP="20241122rc";; esac local ISO="elementaryos-${RELEASE}-stable.${STAMP}.iso" local URL="https://ams3.dl.elementary.io/download" echo "${URL}/$(date +%s | base64)/${ISO} ${HASH}" }