Unverified Commit dc2e95c7 authored by Boria138's avatar Boria138

Add W3D Hub Launcher autoinstall

parent 0d0ef3bc
#!/usr/bin/env bash
# Author: chal55rus and Boria138
#W3D Hub Launcher.exe
#Rating=1-5
export PW_VULKAN_USE="0"
export PW_PREFIX_NAME="DOTNET"
export PW_WINE_USE="WINE_LG"
gui_proton_downloader silent "$PW_WINE_USE"
#!/bin/bash
# Author: chal55rus and Boria138
########################################################################
export PW_PREFIX_NAME="DOTNET"
export LAUNCH_PARAMETERS=("/S")
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/w3dhub_launcher_install.exe"
export PORTWINE_CREATE_SHORTCUT_NAME="W3D Hub Launcher"
start_portwine
if try_download 'https://w3dhub.com/forum/files/file/10-w3d-hub-launcher/?do=download' "${PW_AUTOINSTALL_EXE}" no_mirror
then
pw_start_progress_bar_install_game "W3DHUB Launcher"
pw_run "${PW_AUTOINSTALL_EXE}"
portwine_exe="$(find "$WINEPREFIX/" -type f -name "W3D Hub Launcher.exe" | grep "W3D Hub/W3D Hub Launcher.exe")"
try_remove_file "${PW_AUTOINSTALL_EXE}"
kill_portwine
pw_stop_progress_bar
portwine_create_shortcut
fi
stop_portwine
......@@ -538,6 +538,7 @@ else
--field=" Pulse Online"!"$PW_GUI_ICON_PATH/pulseonline.png"!"":"FBTN" '@bash -c "button_click PW_PULSE_ONLINE"' \
--field=" CatsLauncher (Front Edge)"!"$PW_GUI_ICON_PATH/catslauncher.png"!"":"FBTN" '@bash -c "button_click PW_CATSLAUNCHER"' \
--field=" Russian Fishing 4"!"$PW_GUI_ICON_PATH/rf4launcher.png"!"":"FBTN" '@bash -c "button_click PW_RUSSIAN_FISHING"' \
--field=" W3D Hub Launcher"!"$PW_GUI_ICON_PATH/w3dhub.png"!"":"FBTN" '@bash -c "button_click PW_W3D_HUB"' \
2>/dev/null &
# --field=" Secret World Legends (ENG)"!"$PW_GUI_ICON_PATH/swl.png"!"":"FBTN" '@bash -c "button_click PW_SWL"'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment