#!/bin/bash
# CopyCat is free software: you can redistribute it and/or modify
# it under the terms of WTFP Public License This program is distributed
# in the hope that it will be useful, but WITHOUT ANY WARRANTY.

yad --window-icon="/usr/share/copycat/icons/copycat-24.svg" --center --height=275 \
--width=525 --fixed --title="Copycat Debian Information" \
--text=$"<span color=\"#e07b39\"><b> \
Information for creating and using Copycat persistence</b></span>\n
1. <span color=\"#e07b39\"><b>Formatting</b></span>
This option must be done before creating any persistence usb devices.

2. <span color=\"#e07b39\"><b>Persistence</b></span>
This option will be used after the initial formatting for the usb devices.

3. <span color=\"#e07b39\"><b>Non Persistence</b></span>
Formatting is not required and the usb device will not have persistence." \
--button="About!/usr/share/copycat/icons/about.svg:1" --button="gtk-close:0"
if [ "$?" = "1" ]; then
/usr/share/copycat/CopyCat
else
pkexec /usr/bin/copycat
exit
fi

