GalaxyClient.ppdb 710 Bytes
Newer Older
1
#!/usr/bin/env bash
2
#Author: Dezert1r, Fidel
Mikhail Tergoev's avatar
Mikhail Tergoev committed
3
#GalaxyClient.exe
Mikhail Tergoev's avatar
Mikhail Tergoev committed
4
#GOG_Galaxy_2.0.exe
5
#Rating=5
Mikhail Tergoev's avatar
Mikhail Tergoev committed
6
################################################
7
export PW_VULKAN_USE="2"
8 9
export WINEDLLOVERRIDES="galaxycommunication.exe=n;libglesv2="
export LAUNCH_PARAMETERS="/runWithoutUpdating /deelevated"
10
export PW_PREFIX_NAME="GOG"
11 12
export DISABLE_CP_DEFPFX="1"
export PW_WINE_USE="WINE_LG"
13

14
add_in_start_portwine ()
Mikhail Tergoev's avatar
Mikhail Tergoev committed
15
{
16
if [[ -e "${WINEPREFIX}/drive_c/users/${USER}/Local Settings/Application Data/GOG.com/Galaxy/Configuration/config.json" ]] ; then
17
    sed -i 's/"featureOverlay" : true,/"featureOverlay" : false,/' "${WINEPREFIX}/drive_c/${USER}/Local Settings/Application Data/GOG.com/Galaxy/Configuration/config.json"
Mikhail Tergoev's avatar
Mikhail Tergoev committed
18
fi
19
}