scripts

scripts i made for me
git clone https://s.sonu.ch/~rei/scripts.git
Log | Files | Refs | README

arr.sh (789B)


      1 #!/bin/bash
      2 
      3 # script for installing fitgirl repacks, based on johncena141's script
      4 
      5 cd "$(dirname "$0")" || exit
      6 
      7 # Settings
      8 export WINEESYNC=1
      9 export WINEFSYNC=1
     10 export WINEDEBUG="-all"
     11 export STAGING_SHARED_MEMORY=1
     12 export WINE_LARGE_ADDRESS_AWARE=1
     13 export WINE="$(which wine)"
     14 
     15 # Wineprefix
     16 export WINEARCH=win64
     17 export WINEPREFIX="$PWD/wine"
     18 export WINEDLLOVERRIDES="mscoree=d;mshtml=d"
     19 
     20 # Extra
     21 PREFIX="$PWD/wine"; WINETRICKS="$PWD/winetricks"; S32="$PREFIX/drive_c/windows/system32"
     22 
     23 # Winetricks
     24 [ ! -x "$WINETRICKS" ] && echo "winetricks not found, downloading" && curl -L "https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks" -o winetricks && chmod +x winetricks || echo "winetricks found"
     25 
     26 # Setup file
     27 export EXE="setup.exe"
     28 
     29 # Start setup
     30 $WINE $EXE