updated install.sh and preset.sh

This commit is contained in:
Ja.KooLit 2024-01-05 22:45:20 +09:00
parent dc6f780932
commit 531edb0107
2 changed files with 10 additions and 12 deletions

View File

@ -25,6 +25,7 @@ echo "$(tput setaf 3)NOTE: If you are installing on a VM, ensure to enable 3D ac
echo
read -p "$(tput setaf 6)Would you like to proceed? (y/n): $(tput sgr0)" proceed
printf "\n%.0s" {1..2}
echo "$(tput bold)$(tput setaf 7)Choose Y to use preset ONLY once you reviewed, updated or updated the preset.sh $(tput sgr0)"
echo "$(tput bold)$(tput setaf 7)If you are not sure what to do, choose N in the "Use Preset Settings" question $(tput sgr0)"
@ -38,21 +39,12 @@ if [ "$proceed" != "y" ]; then
exit 1
fi
if [[ $use_preset = [Yy] ]]; then
source ./preset.sh
fi
# Create Directory for Install Logs
if [ ! -d Install-Logs ]; then
mkdir Install-Logs
fi
# Use of Preset Settings
if [[ $use_preset = [Yy] ]]; then
source ./preset.sh
fi

View File

@ -1,5 +1,11 @@
############ !!!!!Make sure you use the right answer or it may failed
###
# 💫 https://github.com/JaKooLit 💫 #
#
# CREDIT to: https://github.com/PostCyberPunk for this Preset function
## -- Make sure you use the right answer or install script will fail ###
# Make sure proper AUR Helper is use NO Upperscript. Either paru or yay only is accepted
# The rest Change to Y for Yes and N for No.
### -Type AUR helper
### yay or paru
aur_helper="yay"