#!/usr/bin/env bash
#
# maximalisimus Installation Framework (version 2.0 - 20-Aug-2019)
#
# Written by Carl Duff for maximalisimus ArchLinux
#
# This program is free software, provided under the GNU General Public License
# as published by the Free Software Foundation. So feel free to copy, distribute,
# or modify it as you wish.
#

######################################################################
##                                                                  ##
##                   Installer Variables                            ##
##                                                                  ##
######################################################################

# Create a temporary file to store menu selections
ANSWER="/tmp/.aif"
ABSOLUT_FILENAME=$(readlink -e "$0")
filesdir=$(dirname "$ABSOLUT_FILENAME")
# Save retyping
VERSION="MAXIMALISIMUS Installation Framework 2.8"
# Constant to 32 or 64 bit system
_archi=$(uname -m)

for i in "$filesdir"/config/*.sh; do source "$i" ; done ;

for i in "$filesdir"/modules/*.sh; do source "$i"; done ;

######################################################################
##                                                                  ##
##                        Execution                                 ##
##                                                                  ##
######################################################################

setcolor
us_dlgrc_conf
id_system
select_language
check_requirements
greeting
	while true; do
		main_menu_online      
	done
