Added script for installing winetricks

This is necessary for systems withot winetricks package or with outdated
package
This commit is contained in:
Katy248 2024-10-16 15:32:11 +03:00
parent 97724fd0cd
commit b2d8fc5ef5
2 changed files with 14 additions and 2 deletions

7
install-winetricks.sh Executable file
View File

@ -0,0 +1,7 @@
#!/bin/bash
git clone https://github.com/Winetricks/winetricks /tmp/ps-winetricks
cd /tmp/ps-winetricks
sudo make install
rm -rf /tmp/ps-winetricks/

View File

@ -143,9 +143,10 @@ redos)
DEPENDENCIES=(
curl
wine
winetricks
ImageMagick
ImageMagick
zstd
git
make
)
;;
*)
@ -178,6 +179,10 @@ install_deps() {
print_error "DNF terminated with an error"
exit 1
fi
if ! ./install-winetricks.sh ; then
print_error "Error while installing winetricks"
fi
;;
*)
print_error "For now only ${BLUE}Arch Linux${RESET} and ${RED}RED OS${RESET} is supported."