Add W3D Hub Launcher autoinstall
This commit is contained in:
parent
0d0ef3bc4c
commit
dc2e95c700
BIN
data_from_portwine/img/gui/w3dhub.png
Normal file
BIN
data_from_portwine/img/gui/w3dhub.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.6 KiB |
9
data_from_portwine/scripts/portwine_db/W3D Hub Launcher
Normal file
9
data_from_portwine/scripts/portwine_db/W3D Hub Launcher
Normal file
@ -0,0 +1,9 @@
|
||||
#!/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"
|
20
data_from_portwine/scripts/pw_autoinstall/PW_W3D_HUB
Normal file
20
data_from_portwine/scripts/pw_autoinstall/PW_W3D_HUB
Normal file
@ -0,0 +1,20 @@
|
||||
#!/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"'
|
||||
|
Loading…
Reference in New Issue
Block a user