GalaxyClient 688 Bytes
Newer Older
1
#!/usr/bin/env bash
Mikhail Tergoev's avatar
Mikhail Tergoev committed
2 3 4 5 6
#Author: Dezert1r
#GalaxyClient.exe 
#GOG_Galaxy_2.0.exe
#Rating=1-5
################################################
castro-fidel's avatar
castro-fidel committed
7 8
export PW_VULKAN_USE=1
export PW_WINE_USE=PROTON_GE
9 10
export WINEDLLOVERRIDES="galaxycommunication.exe=n;libglesv2="
export LAUNCH_PARAMETERS="/runWithoutUpdating /deelevated"
castro-fidel's avatar
castro-fidel committed
11
export PW_DLL_INSTALL="vcrun2019"
12
add_in_start_portwine ()
Mikhail Tergoev's avatar
Mikhail Tergoev committed
13
{
Mikhail Tergoev's avatar
Mikhail Tergoev committed
14 15
if [ -e "${WINEPREFIX}/drive_c/users/${USER}/Local Settings/Application Data/GOG.com/Galaxy/Configuration/config.json" ] ; then
    sed -i 's/"featureOverlay" : true,/"featureOverlay" : false,/' "${WINEPREFIX}/drive_c/${USER}/steamuser/Local Settings/Application Data/GOG.com/Galaxy/Configuration/config.json"
Mikhail Tergoev's avatar
Mikhail Tergoev committed
16
fi
17
}