Scripts version 2264

This commit is contained in:
Mikhail Tergoev
2024-03-15 17:49:14 +03:00
parent e623b589e8
commit 2d6be9b1b0
12 changed files with 52 additions and 11 deletions

View File

@ -0,0 +1,21 @@
#!/usr/bin/env bash
# Author: cefeiko
########################################################################
export PW_PREFIX_NAME=DOTNET
export PORTWINE_CREATE_SHORTCUT_NAME="Pulse Online"
start_portwine
mkdir -p "${WINEPREFIX}/drive_c/games/PulseOnline/"
export PW_AUTOINSTALL_EXE="${WINEPREFIX}/drive_c/games/PulseOnline/PulseOnlineLauncher.exe"
if try_download_no_mirror "https://pulseonline.ru/game_download/PulseOnlineLauncher.exe" "${PW_AUTOINSTALL_EXE}"
then
export portwine_exe="$PW_AUTOINSTALL_EXE"
try_remove_file "${portwine_exe}.ppdb"
pw_stop_progress_bar
portwine_create_shortcut
kill_portwine
fi
stop_portwine