Scripts version 2228

This commit is contained in:
Mikhail Tergoev
2023-11-02 19:44:10 +03:00
parent ee725b56c8
commit 8af6fbb0ae
6 changed files with 25 additions and 9 deletions

View File

@ -13,10 +13,10 @@ start_portwine
if try_download "https://setup.rbxcdn.com/RobloxPlayerLauncher.exe" "${PW_AUTOINSTALL_EXE}"
then
pw_run "${PW_AUTOINSTALL_EXE}"
portwine_exe="$(find "$WINEPREFIX/drive_c/" -type f -name "RobloxPlayerBeta.exe")"
portwine_exe="$(find "$WINEPREFIX/drive_c/Program Files (x86)/Roblox/" -type f -name "RobloxPlayerBeta.exe" | head -n 1)"
try_remove_file "${portwine_exe}.ppdb"
pw_stop_progress_bar
# export PORTWINE_CREATE_SHORTCUT_NAME="RobloxPlayerBeta"
export PORTWINE_CREATE_SHORTCUT_NAME="RobloxPlayerBeta"
portwine_create_shortcut
fi
stop_portwine