#!/usr/bin/env bash

if [[ -e '/version' ]]; then
	version="v`cat /version | cut -d'.' -f1`.`cat /version | cut -d '.' -f2`"
else
	version='rolling'
fi

yad --title='About Ultimate Arch' --window-icon='distributor-logo' \
	--about \
	--pname='Ultimate Arch' \
	--pversion="$version" \
	--image='distributor-logo' \
	--comments="Ultimate Arch Linux distribution, Based on Arch Linux." \
	--copyright="Copyright 2022-`date +'%Y'`, Glenn Cady <theemahn@archultimateedition.com>" \
	--license='GPL3' \
	--website='https://archultimateedition.com/' \
	--website-label='Arch Ultimate' \
	--authors="Glenn Cady <theemahn@archultimateedition.com>"
