PW_ROBLOX 897 Bytes
Newer Older
Mikhail Tergoev's avatar
Mikhail Tergoev committed
1 2 3 4 5 6
#!/usr/bin/env bash
# Author: chal55rus (Sergey P.)
########################################################################
export LAUNCH_PARAMETERS=("")
export PW_PREFIX_NAME="ROBLOX"
export PW_AUTOINSTALL_EXE="${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/roblox_installer.exe"
7 8
export WINEDLLOVERRIDES="mscoree,mshtml="
# export DISABLE_CP_DEFPFX=1
Mikhail Tergoev's avatar
Mikhail Tergoev committed
9
export PW_MUST_HAVE_DLL=""
10 11
export PW_WINE_USE="WINE-8.8-STAGING-TKG-AMD64"
gui_proton_downloader silent "WINE-8.8-STAGING-TKG-AMD64"
Mikhail Tergoev's avatar
Mikhail Tergoev committed
12 13 14 15 16

start_portwine
if try_download "setup.rbxcdn.com/RobloxPlayerLauncher.exe" "${PW_AUTOINSTALL_EXE}"
then
    pw_run "${PW_AUTOINSTALL_EXE}"
17
    portwine_exe=`find "$WINEPREFIX/drive_c/" -type f -name "RobloxPlayerBeta.exe"`
Mikhail Tergoev's avatar
Mikhail Tergoev committed
18 19 20 21 22 23
    try_remove_file "${portwine_exe}.ppdb"
    pw_stop_progress_bar
    # export PORTWINE_CREATE_SHORTCUT_NAME="RobloxPlayerBeta"
    portwine_create_shortcut
fi
stop_portwine