34 lines
752 B
Plaintext
34 lines
752 B
Plaintext
# Template file for 'popos'
|
|
OSNAME="popos"
|
|
PRETTY="Pop!_OS"
|
|
BASEDOF="Ubuntu"
|
|
DESCRIPTION="Operating system for STEM and creative professionals who use their computer as a tool to discover and create"
|
|
HOMEPAGE="https://pop.system76.com"
|
|
CREDENTIALS="-"
|
|
|
|
|
|
RELEASES="22.04 20.04"
|
|
EDITIONS="nvidia intel"
|
|
|
|
function releases_() {
|
|
echo 22.04 20.04
|
|
}
|
|
|
|
function editions_() {
|
|
echo intel nvidia
|
|
}
|
|
|
|
function get_() {
|
|
local HASH=""
|
|
local ISO=""
|
|
local URL=""
|
|
URL=$(web_pipe "https://api.pop-os.org/builds/${RELEASE}/${EDITION}" | jq -r .url)
|
|
HASH=$(web_pipe "https://api.pop-os.org/builds/${RELEASE}/${EDITION}" | jq -r .sha_sum)
|
|
echo "${URL} ${HASH}"
|
|
}
|
|
|
|
function specific_tweaks() {
|
|
echo "disk_size=\"32G\"" >> "${CONF_FILE}"
|
|
}
|
|
|