This commit is contained in:
ElecTwix 2024-04-25 19:27:53 +03:00
parent 7ee8a6b04b
commit 2ed116f4e8

View File

@ -51,12 +51,12 @@ if [ -z "$_driver_version" ] || [ "$_driver_version" = "latest" ] || [ -z "$_dri
warning "Please make sure you have the corresponding kernel headers package installed for each kernel on your system !\n"
if [[ -z $CONDITION ]]; then
read -p " Which driver version do you want?`echo $'\n > 1.Vulkan dev: 550.40.61\n 2.550 series: 550.76\n 3.545 series: 545.29.06\n 4.535 series: 535.171.04\n 5.470 series: 470.239.06\n 6.Older series\n 7.Custom version (396.xx series or higher)\n choice[1-7?]: '`" CONDITION;
read -p " Which driver version do you want?`echo $'\n > 1.Vulkan dev: 550.40.61\n 2.550 series: 550.78\n 3.545 series: 545.29.06\n 4.535 series: 535.171.04\n 5.470 series: 470.239.06\n 6.Older series\n 7.Custom version (396.xx series or higher)\n choice[1-7?]: '`" CONDITION;
fi
# This will be treated as the latest regular driver.
if [ "$CONDITION" = "2" ]; then
echo '_driver_version=550.76' > options
echo '_md5sum=5f8b7b1f439e5ded0a092bcb22e856a6' >> options
echo '_driver_version=550.78' > options
echo '_md5sum=c289987ebda8e9419a73e7e8e3409244' >> options
echo '_driver_branch=regular' >> options
elif [ "$CONDITION" = "3" ]; then
echo '_driver_version=545.29.06' > options