v1.5
skipped all the way to v1.5 cos of how much this version adds, lol.
This commit is contained in:
parent
35e56cab7d
commit
18356d8b5e
|
|
@ -63,6 +63,7 @@ sudo emerge --ask virtual/wine-staging net-misc/wget
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "The URI for Itteblox will now be made. "
|
echo "The URI for Itteblox will now be made. "
|
||||||
|
sleep 1
|
||||||
touch itteblox.desktop
|
touch itteblox.desktop
|
||||||
echo "[Desktop Entry]" >> itteblox.desktop
|
echo "[Desktop Entry]" >> itteblox.desktop
|
||||||
echo "Name=Itteblox Player" >> itteblox.desktop
|
echo "Name=Itteblox Player" >> itteblox.desktop
|
||||||
|
|
@ -74,6 +75,19 @@ sudo mv itteblox.desktop /usr/share/applications
|
||||||
sudo update-desktop-database
|
sudo update-desktop-database
|
||||||
cat /usr/share/applications/itteblox.desktop
|
cat /usr/share/applications/itteblox.desktop
|
||||||
|
|
||||||
|
if [ "$1" == "dxvk" ] || [ "$2" == "dxvk" ]
|
||||||
|
then
|
||||||
|
echo "The script will now install DXVK. "
|
||||||
|
wget -nc https://github.com/doitsujin/dxvk/releases/download/v1.10.1/dxvk-1.10.1.tar.gz
|
||||||
|
tar -xf dxvk-1.10.1.tar.gz
|
||||||
|
cd dxvk-1.10.1
|
||||||
|
export WINEPREFIX=$HOME/.wine
|
||||||
|
./setup_dxvk.sh install
|
||||||
|
cd ..
|
||||||
|
rm dxvk-1.10.1.tar.gz
|
||||||
|
rm dxvk-1.10.1 -rf
|
||||||
|
fi
|
||||||
|
|
||||||
echo "winecfg will now open. Set the OS to be Windows 10. "
|
echo "winecfg will now open. Set the OS to be Windows 10. "
|
||||||
sleep 3
|
sleep 3
|
||||||
winecfg
|
winecfg
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
if [ "$1" == "uninstall" ] || [ "$1" == "uninstaller" ]
|
if [ "$1" == "uninstall" ] || [ "$1" == "uninstaller" ]
|
||||||
then
|
then
|
||||||
echo "Uninstalling Tadah in 3 seconds... "
|
echo "Uninstalling Tadah in 3 seconds.. "
|
||||||
sleep 3
|
sleep 3
|
||||||
rm $HOME/.wine/drive_c/users/$USER/AppData/Local/Tadah -rf
|
rm $HOME/.wine/drive_c/users/$USER/AppData/Local/Tadah -rf
|
||||||
rm $HOME/.wine/drive_c/users/$USER/AppData/Local/Ta2014 -rf
|
rm $HOME/.wine/drive_c/users/$USER/AppData/Local/Ta2014 -rf
|
||||||
|
|
@ -63,13 +63,27 @@ then
|
||||||
sudo emerge --ask virtual/wine-staging net-misc/wget
|
sudo emerge --ask virtual/wine-staging net-misc/wget
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
PREFIX=$HOME/.wine # defining prefix, if wineprefix is ran as parameter it will be overwritten
|
||||||
|
|
||||||
|
if [ "$1" == "prefix" ] || [ "$1" == "wineprefix" ] || [ "$2" == "prefix" ] || [ "$2" == "wineprefix" ]
|
||||||
|
then
|
||||||
|
read -p "Please enter the name of the wineprefix you'd like to use/make. " PREFIX
|
||||||
|
if [ ! -d $PREFIX ]
|
||||||
|
then
|
||||||
|
echo "Directory doesn't exist, creating.. "
|
||||||
|
mkdir $PREFIX
|
||||||
|
WINEPREFIX=$PREFIX
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
echo "The URI for Tadah will now be made. "
|
echo "The URI for Tadah will now be made. "
|
||||||
|
sleep 1
|
||||||
touch tadah.desktop
|
touch tadah.desktop
|
||||||
echo "[Desktop Entry]" >> tadah.desktop
|
echo "[Desktop Entry]" >> tadah.desktop
|
||||||
echo "Name=Tadah Player" >> tadah.desktop
|
echo "Name=Tadah Player" >> tadah.desktop
|
||||||
echo "Comment=https://tadah.rocks/" >> tadah.desktop
|
echo "Comment=https://tadah.rocks/" >> tadah.desktop
|
||||||
echo "Type=Application" >> tadah.desktop
|
echo "Type=Application" >> tadah.desktop
|
||||||
echo "Exec=wine $HOME/.wine/drive_c/users/$USER/AppData/Local/Tadah/2014/TadahLauncher.exe -token %u" >> tadah.desktop
|
echo "Exec=wine $PREFIX/drive_c/users/$USER/AppData/Local/Tadah/2014/TadahLauncher.exe -token %u" >> tadah.desktop
|
||||||
echo "MimeType=x-scheme-handler/tadahfourteen" >> tadah.desktop
|
echo "MimeType=x-scheme-handler/tadahfourteen" >> tadah.desktop
|
||||||
sudo mv tadah.desktop /usr/share/applications
|
sudo mv tadah.desktop /usr/share/applications
|
||||||
sudo update-desktop-database
|
sudo update-desktop-database
|
||||||
|
|
@ -77,13 +91,26 @@ cat /usr/share/applications/tadah.desktop
|
||||||
|
|
||||||
echo "winecfg will now open. Set the OS to be Windows 10. "
|
echo "winecfg will now open. Set the OS to be Windows 10. "
|
||||||
sleep 3
|
sleep 3
|
||||||
winecfg
|
winecfg $PREFIX
|
||||||
|
|
||||||
echo "The script will now install Tadah."
|
echo "The script will now install Tadah."
|
||||||
sleep 3
|
sleep 3
|
||||||
wget -nc https://cdn.discordapp.com/attachments/896484783180382222/962901711763144714/TadahFourteen.exe
|
wget -nc https://cdn.discordapp.com/attachments/896484783180382222/962901711763144714/TadahFourteen.exe
|
||||||
wine TadahFourteen.exe
|
wine TadahFourteen.exe
|
||||||
|
|
||||||
|
if [ "$1" == "dxvk" ] || [ "$2" == "dxvk" ]
|
||||||
|
then
|
||||||
|
echo "The script will now install DXVK. "
|
||||||
|
wget -nc https://github.com/doitsujin/dxvk/releases/download/v1.10.1/dxvk-1.10.1.tar.gz
|
||||||
|
tar -xf dxvk-1.10.1.tar.gz
|
||||||
|
cd dxvk-1.10.1
|
||||||
|
export WINEPREFIX=$PREFIX
|
||||||
|
./setup_dxvk.sh install
|
||||||
|
cd ..
|
||||||
|
rm dxvk-1.10.1.tar.gz
|
||||||
|
rm dxvk-1.10.1 -rf
|
||||||
|
fi
|
||||||
|
|
||||||
echo "The script has installed Tadah. Play a game and it should work! "
|
echo "The script has installed Tadah. Play a game and it should work! "
|
||||||
echo "If there are any problems, DM me on Discord. DarDarDar#3429. "
|
echo "If there are any problems, DM me on Discord. DarDarDar#3429. "
|
||||||
rm TadahFourteen.exe
|
rm TadahFourteen.exe
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue