updated try_download and try_check_sha256sum func.
This commit is contained in:
@ -3,14 +3,14 @@
|
||||
##########################################################################
|
||||
export LAUNCH_PARAMETERS=("--silent")
|
||||
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/itch-setup.exe"
|
||||
|
||||
start_portwine
|
||||
if try_download "https://itch.io/app/download?platform=windows" "${PW_AUTOINSTALL_EXE}" no_mirror
|
||||
then
|
||||
pw_start_progress_bar_install_game "ITCH.IO."
|
||||
pw_kill_autostart itch.exe &
|
||||
pw_run "${PW_AUTOINSTALL_EXE}"
|
||||
portwine_exe=`find "$WINEPREFIX/drive_c/users" -type f -name "itch.exe"`
|
||||
# portwine_exe="$WINEPREFIX/drive_c/users/steamuser/AppData/Local/itch/app-25.5.1/itch.exe"
|
||||
portwine_exe=$(find "$WINEPREFIX/drive_c/users" -type f -name "itch.exe")
|
||||
try_remove_file "${PW_AUTOINSTALL_EXE}"
|
||||
try_remove_file "${portwine_exe}.ppdb"
|
||||
kill_portwine
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
# Author: cefeiko
|
||||
########################################################################
|
||||
export PW_PREFIX_NAME=DOTNET
|
||||
export PW_PREFIX_NAME="OSU"
|
||||
export PORTWINE_CREATE_SHORTCUT_NAME="OSU"
|
||||
|
||||
start_portwine
|
||||
@ -18,10 +18,9 @@ then
|
||||
export portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/OSU/osu!.exe"
|
||||
pw_create_unique_exe
|
||||
try_remove_file "${portwine_exe}.ppdb"
|
||||
# pw_run "${PW_AUTOINSTALL_EXE}"
|
||||
pw_stop_progress_bar
|
||||
portwine_create_shortcut
|
||||
kill_portwine
|
||||
fi
|
||||
|
||||
stop_portwine
|
||||
stop_portwine
|
@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
# Author: cefeiko
|
||||
########################################################################
|
||||
export PW_PREFIX_NAME=DOTNET
|
||||
export PW_PREFIX_NAME="DOTNET"
|
||||
export PORTWINE_CREATE_SHORTCUT_NAME="Pulse Online"
|
||||
|
||||
start_portwine
|
||||
|
@ -6,6 +6,7 @@ export PW_PREFIX_NAME="VK_PLAY"
|
||||
export PW_AUTOINSTALL_EXE="${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/users/steamuser/AppData/Local/VKPlayLoader.exe"
|
||||
export WINEDLLOVERRIDES="mscoree,mshtml="
|
||||
export PW_MUST_HAVE_DLL=""
|
||||
export PW_WINE_USE="WINE_LG"
|
||||
|
||||
start_portwine
|
||||
if try_download "https://static.gc.my.games/VKPlayLoader.exe" "${PW_AUTOINSTALL_EXE}" no_mirror
|
||||
|
Reference in New Issue
Block a user