forked from CastroFidel/PortWINE
		
	Scripts version 2163
This commit is contained in:
		| @@ -2,6 +2,11 @@ You can help us in the development of the project on the website: boosty.to/linu | ||||
| ----------------------------------------- | ||||
| Changelog: | ||||
|  | ||||
| ###Scripts version 2163### | ||||
| * Steam is working again and starts in Steam Deck mode by default | ||||
| * added automatic reset of the .ppdb file settings when reinstalling the launchers from the PortProton menu | ||||
| * added creation of a shortcut to the desktop | ||||
|  | ||||
| ###Scripts version 2162### | ||||
| * The libc_v39 library package has been updated | ||||
|     - Uplay is working again | ||||
|   | ||||
| @@ -2,6 +2,11 @@ | ||||
| ----------------------------------------- | ||||
| История изменений: | ||||
|  | ||||
| ###Scripts version 2163### | ||||
| * Steam снова работает и по умолчанию запускается в Steam Deck режиме | ||||
| * добавлен автоматический сброс настроек файла .ppdb при переустановке лончеров из меню PortProton | ||||
| * добавлено создание ярлыка на рабочий стол | ||||
|  | ||||
| ###Scripts version 2162### | ||||
| * Обновлен пакет библиотек libs_v39 | ||||
|     - Uplay снова работает | ||||
|   | ||||
| @@ -32,7 +32,7 @@ then | ||||
|  | ||||
| 	export inst_set="Выбор" | ||||
| 	export inst_set_top="Установка PortWINE" | ||||
| 	export ss_done="Ярлык создан в каталоге PortProton.    \n    Добавить его в МЕНЮ -> ИГРЫ?" | ||||
| 	export ss_done="Ярлык создан в каталоге PortProton.\nДобавить его в МЕНЮ и на Рабочий стол?" | ||||
|  | ||||
| 	export inst_succ="Установка завершена успешно!" | ||||
|  | ||||
| @@ -274,7 +274,7 @@ then | ||||
|  | ||||
| 	export inst_set="Sett..." | ||||
| 	export inst_set_top="PortWINE setting" | ||||
| 	export ss_done="The shortcut was created in the ${portname} directory.\n    Add it to MENU -> GAMES?" | ||||
| 	export ss_done="The shortcut was created in the ${portname} directory.\n    Add it to MENU -> GAMES and Desktop?" | ||||
| 	export inst_succ="The installation was successful." | ||||
|  | ||||
| 	export port_upd1="New update PortWINE" | ||||
|   | ||||
| @@ -1,15 +1,14 @@ | ||||
| #!/usr/bin/env bash | ||||
| #Author: Cefeiko | ||||
| #Author: linux-gaming.ru | ||||
| #steam.exe | ||||
| #Rating=5 | ||||
| ################################################ | ||||
| export PW_COMMENT_DB="Steam" | ||||
| export PW_WINDOWS_VER=10 | ||||
| export PW_WINDOWS_VER="10" | ||||
| export PW_DLL_INSTALL="vcrun2019 d3dcompiler_46" | ||||
| export WINEDLLOVERRIDES="libglesv2,lsteamclient=" | ||||
| export LAUNCH_PARAMETERS="-no-cef-sandbox" | ||||
| export PW_VULKAN_USE=1 | ||||
| # export PW_WINE_USE=PROTON_GE | ||||
| export WINEDLLOVERRIDES="" | ||||
| export LAUNCH_PARAMETERS="-gamepadui -fullscreen" | ||||
| export PW_VULKAN_USE="1" | ||||
|  | ||||
| add_in_start_portwine () { | ||||
|     echo "Disabled silent autostart steam." | ||||
|   | ||||
| @@ -10,6 +10,7 @@ then | ||||
|     pw_run "${PW_AUTOINSTALL_EXE}" | ||||
|     portwine_exe="$WINEPREFIX/drive_c/Program Files/Ankama/Ankama Launcher/Ankama Launcher.exe" | ||||
|     try_remove_file "${PW_AUTOINSTALL_EXE}" | ||||
|     try_remove_file "${portwine_exe}.ppdb" | ||||
|     kill_portwine | ||||
|     pw_stop_progress_bar | ||||
|     export PORTWINE_CREATE_SHORTCUT_NAME="AnkamaLauncher" | ||||
|   | ||||
| @@ -13,5 +13,6 @@ then | ||||
|     pw_stop_progress_bar | ||||
|     portwine_create_shortcut | ||||
|     try_remove_file "${PW_AUTOINSTALL_EXE}" | ||||
|     try_remove_file "${portwine_exe}.ppdb" | ||||
| fi | ||||
| stop_portwine | ||||
|   | ||||
| @@ -11,6 +11,7 @@ then | ||||
|     pw_run "${PW_AUTOINSTALL_EXE}" | ||||
|     portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/Bethesda.net Launcher/BethesdaNetLauncher.exe" | ||||
|     try_remove_file "${PW_AUTOINSTALL_EXE}" | ||||
|     try_remove_file "${portwine_exe}.ppdb" | ||||
|     kill_portwine | ||||
|     pw_stop_progress_bar | ||||
|     export PORTWINE_CREATE_SHORTCUT_NAME="Bethesda.net" | ||||
|   | ||||
| @@ -36,6 +36,7 @@ then | ||||
|     pw_run "${PW_AUTOINSTALL_EXE}" | ||||
|     portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/1C Game Studios/Caliber/Launcher.exe" | ||||
|     try_remove_file "${PW_AUTOINSTALL_EXE}" | ||||
|     try_remove_file "${portwine_exe}.ppdb" | ||||
|     kill_portwine | ||||
|     pw_stop_progress_bar | ||||
|     export PORTWINE_CREATE_SHORTCUT_NAME="CALIBER" | ||||
|   | ||||
| @@ -10,6 +10,7 @@ then | ||||
|     "$pw_7z" x -y "${PW_AUTOINSTALL_EXE}" -o"$WINEPREFIX/drive_c/Program Files (x86)" | ||||
|     portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/`echo ${PW_URL_CEMU} | awk -F/ '{print $5}' | sed 's/.zip//'`/Cemu.exe" | ||||
|     try_remove_file "${PW_AUTOINSTALL_EXE}" | ||||
|     try_remove_file "${portwine_exe}.ppdb" | ||||
|     kill_portwine | ||||
|     pw_stop_progress_bar | ||||
|     export PORTWINE_CREATE_SHORTCUT_NAME="Cemu" | ||||
|   | ||||
| @@ -10,6 +10,7 @@ then | ||||
|     pw_run "${PW_AUTOINSTALL_EXE}" | ||||
|     portwine_exe="$WINEPREFIX/drive_c/users/steamuser/AppData/Local/Citra/nightly-mingw/citra-qt.exe" | ||||
|     try_remove_file "${PW_AUTOINSTALL_EXE}" | ||||
|     try_remove_file "${portwine_exe}.ppdb" | ||||
|     kill_portwine | ||||
|     pw_stop_progress_bar | ||||
|     export PORTWINE_CREATE_SHORTCUT_NAME="Citra" | ||||
|   | ||||
| @@ -13,6 +13,7 @@ then | ||||
|     pw_run "${PW_AUTOINSTALL_EXE}" | ||||
|     portwine_exe="${WINEPREFIX}/drive_c/users/$USER/AppData/Local/Crossout/launcher.exe" | ||||
|     try_remove_file "${PW_AUTOINSTALL_EXE}" | ||||
|     try_remove_file "${portwine_exe}.ppdb" | ||||
|     kill_portwine | ||||
|     pw_stop_progress_bar | ||||
|     export PORTWINE_CREATE_SHORTCUT_NAME="Crossout" | ||||
|   | ||||
| @@ -10,6 +10,7 @@ then | ||||
|     pw_run "${PW_AUTOINSTALL_EXE}" | ||||
|     portwine_exe="$WINEPREFIX/drive_c/Program Files/Dolphin/Dolphin.exe" | ||||
|     try_remove_file "${PW_AUTOINSTALL_EXE}" | ||||
|     try_remove_file "${portwine_exe}.ppdb" | ||||
|     kill_portwine | ||||
|     pw_stop_progress_bar | ||||
|     export PORTWINE_CREATE_SHORTCUT_NAME="Dolphin 5.0" | ||||
|   | ||||
| @@ -9,6 +9,7 @@ then | ||||
|     "$pw_7z" x -y "${PW_AUTOINSTALL_EXE}" -o"$WINEPREFIX/drive_c/Program Files (x86)/Duckstation" | ||||
|     portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/Duckstation/duckstation-qt-x64-ReleaseLTCG.exe" | ||||
|     try_remove_file "${PW_AUTOINSTALL_EXE}" | ||||
|     try_remove_file "${portwine_exe}.ppdb" | ||||
|     kill_portwine | ||||
|     pw_stop_progress_bar | ||||
|     export PORTWINE_CREATE_SHORTCUT_NAME="DuckStation" | ||||
|   | ||||
| @@ -9,7 +9,7 @@ export PW_VULKAN_USE=1                       # dxvk, vkd3d or 0 for OpenGL | ||||
| # export PW_WINE_TKG_VER="7.20" | ||||
| # export PW_WINE_USE="WINE-${PW_WINE_TKG_VER}-STAGING-TKG-AMD64" | ||||
| export PW_MUST_HAVE_DLL="" | ||||
| export PW_PREFIX_NAME="EA_APP" | ||||
| # export PW_PREFIX_NAME="EA_APP" | ||||
| # export WINEDLLOVERRIDES="mscoree,mshtml=b" | ||||
|  | ||||
| # if [ ! -d "${PORT_WINE_PATH}/data/dist/${PW_WINE_USE}" ] ; then | ||||
| @@ -49,6 +49,7 @@ then | ||||
|     portwine_exe="$WINEPREFIX/drive_c/Program Files/Electronic Arts/EA Desktop/EA Desktop/EALauncher.exe" | ||||
|     pw_stop_progress_bar | ||||
|     try_remove_file "${PW_AUTOINSTALL_EXE}" | ||||
|     try_remove_file "${portwine_exe}.ppdb" | ||||
|     kill_portwine | ||||
|     portwine_create_shortcut | ||||
| fi | ||||
|   | ||||
| @@ -21,6 +21,7 @@ then | ||||
| #     fi | ||||
|     portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/Epic Games/Launcher/Portal/Binaries/Win32/EpicGamesLauncher.exe" | ||||
|     try_remove_file "${PW_AUTOINSTALL_EXE}" | ||||
|     try_remove_file "${portwine_exe}.ppdb" | ||||
|     kill_portwine | ||||
|     pw_stop_progress_bar | ||||
|     portwine_create_shortcut | ||||
|   | ||||
| @@ -9,6 +9,7 @@ then | ||||
|     "$pw_7z" x -y "${PW_AUTOINSTALL_EXE}" -o"$WINEPREFIX/drive_c/Program Files (x86)/EPSXe" | ||||
|     portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/EPSXe/ePSXe.exe" | ||||
|     try_remove_file "${PW_AUTOINSTALL_EXE}" | ||||
|     try_remove_file "${portwine_exe}.ppdb" | ||||
|     kill_portwine | ||||
|     pw_stop_progress_bar | ||||
|     export PORTWINE_CREATE_SHORTCUT_NAME="ePSXe" | ||||
|   | ||||
| @@ -13,7 +13,9 @@ then | ||||
|         dd if="${PW_AUTOINSTALL_EXE}" of="${PW_AUTOINSTALL_EXE}".7z bs=1M skip=31646603 count=196171208 iflag=skip_bytes,count_bytes | ||||
|         "$pw_7z" x "${PW_AUTOINSTALL_EXE}".7z -o"$WINEPREFIX/drive_c/Games/EVE Online" | ||||
|         try_remove_file "${PW_AUTOINSTALL_EXE}" | ||||
|         try_remove_file "${PW_AUTOINSTALL_EXE}".7z | ||||
|     try_remove_file "${portwine_exe}.ppdb" | ||||
|         try_remove_file "${PW_AUTOINSTALL_EXE}" | ||||
|     try_remove_file "${portwine_exe}.ppdb".7z | ||||
|     fi | ||||
|     portwine_exe="$WINEPREFIX/drive_c/Games/EVE Online/Launcher/evelauncher.exe" | ||||
|     pw_stop_progress_bar | ||||
|   | ||||
| @@ -10,6 +10,7 @@ then | ||||
|     pw_run "${PW_AUTOINSTALL_EXE}" | ||||
|     portwine_exe="$WINEPREFIX/drive_c/FulqrumGames/FulqrumGames.exe" | ||||
|     try_remove_file "${PW_AUTOINSTALL_EXE}" | ||||
|     try_remove_file "${portwine_exe}.ppdb" | ||||
|     kill_portwine | ||||
|     pw_stop_progress_bar | ||||
|     export PORTWINE_CREATE_SHORTCUT_NAME="Fulqrum Games" | ||||
|   | ||||
| @@ -29,6 +29,7 @@ then | ||||
|     pw_run "${PW_AUTOINSTALL_EXE}" | ||||
|     portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/GameforgeClient/gfclient.exe" | ||||
|     try_remove_file "${PW_AUTOINSTALL_EXE}" | ||||
|     try_remove_file "${portwine_exe}.ppdb" | ||||
|     kill_portwine | ||||
|     pw_stop_progress_bar | ||||
|     export PORTWINE_CREATE_SHORTCUT_NAME="GameforgeClient" | ||||
|   | ||||
| @@ -11,6 +11,7 @@ then | ||||
|     pw_run "${PW_AUTOINSTALL_EXE}" | ||||
|     portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/Glyph/GlyphClient.exe" | ||||
|     try_remove_file "${PW_AUTOINSTALL_EXE}" | ||||
|     try_remove_file "${portwine_exe}.ppdb" | ||||
|     kill_portwine | ||||
|     pw_stop_progress_bar | ||||
|     export PORTWINE_CREATE_SHORTCUT_NAME="GlyphClient" | ||||
|   | ||||
| @@ -11,6 +11,7 @@ then | ||||
|     pw_run "${PW_AUTOINSTALL_EXE}" | ||||
|     portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/GOG Galaxy/GalaxyClient.exe" | ||||
|     try_remove_file "${PW_AUTOINSTALL_EXE}" | ||||
|     try_remove_file "${portwine_exe}.ppdb" | ||||
|     kill_portwine | ||||
|     pw_stop_progress_bar | ||||
|     portwine_create_shortcut | ||||
|   | ||||
| @@ -15,6 +15,7 @@ then | ||||
|     pw_run "${PW_AUTOINSTALL_EXE}" | ||||
|     portwine_exe="${WINEPREFIX}/drive_c/Program Files/Guild Wars 2/Gw2-64.exe" | ||||
|     try_remove_file "${PW_AUTOINSTALL_EXE}" | ||||
|     try_remove_file "${portwine_exe}.ppdb" | ||||
|     kill_portwine | ||||
|     pw_stop_progress_bar | ||||
|     export PORTWINE_CREATE_SHORTCUT_NAME="Guild Wars 2" | ||||
|   | ||||
| @@ -12,6 +12,7 @@ then | ||||
|     pw_run "${PW_AUTOINSTALL_EXE}" | ||||
|     portwine_exe="${WINEPREFIX}/drive_c/Program Files/IGClient/IGClient.exe" | ||||
|     try_remove_file "${PW_AUTOINSTALL_EXE}" | ||||
|     try_remove_file "${portwine_exe}.ppdb" | ||||
|     kill_portwine | ||||
|     pw_stop_progress_bar | ||||
|     export PORTWINE_CREATE_SHORTCUT_NAME="IGClient" | ||||
|   | ||||
| @@ -11,6 +11,7 @@ then | ||||
|     pw_run "${PW_AUTOINSTALL_EXE}" | ||||
|     portwine_exe="$WINEPREFIX/drive_c/users/steamuser/AppData/Local/itch/app-25.5.1/itch.exe" | ||||
|     try_remove_file "${PW_AUTOINSTALL_EXE}" | ||||
|     try_remove_file "${portwine_exe}.ppdb" | ||||
|     kill_portwine | ||||
|     pw_stop_progress_bar | ||||
|     export PORTWINE_CREATE_SHORTCUT_NAME="Itch" | ||||
|   | ||||
| @@ -30,6 +30,7 @@ else | ||||
|         portwine_exe="$WINEPREFIX/drive_c/ProgramData/Lesta/GameCenter/api/lgc_api.exe" | ||||
|         export PORTWINE_CREATE_SHORTCUT_NAME="Lesta Game Center" | ||||
|         try_remove_file "${PW_AUTOINSTALL_EXE}" | ||||
|     try_remove_file "${portwine_exe}.ppdb" | ||||
|         kill_portwine | ||||
|         portwine_create_shortcut | ||||
|     fi | ||||
|   | ||||
| @@ -32,6 +32,7 @@ then | ||||
|     pw_run "${PW_AUTOINSTALL_EXE}"  | ||||
|     portwine_exe="$WINEPREFIX/drive_c/Riot Games/Riot Client/RiotClientServices.exe" | ||||
|     try_remove_file "${PW_AUTOINSTALL_EXE}" | ||||
|     try_remove_file "${portwine_exe}.ppdb" | ||||
|     kill_portwine | ||||
|     pw_stop_progress_bar | ||||
|     export PORTWINE_CREATE_SHORTCUT_NAME="League of Legend" | ||||
|   | ||||
| @@ -9,6 +9,7 @@ then | ||||
|     "$pw_7z" x -y "${PW_AUTOINSTALL_EXE}" -o"$WINEPREFIX/drive_c/Program Files (x86)/Mame" | ||||
|     portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/Mame/mame.exe" | ||||
|     try_remove_file "${PW_AUTOINSTALL_EXE}" | ||||
|     try_remove_file "${portwine_exe}.ppdb" | ||||
|     kill_portwine | ||||
|     pw_stop_progress_bar | ||||
|     export PORTWINE_CREATE_SHORTCUT_NAME="MAME" | ||||
|   | ||||
| @@ -12,6 +12,7 @@ then | ||||
|     portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/Origin/Origin.exe" | ||||
|     pw_stop_progress_bar | ||||
|     try_remove_file "${PW_AUTOINSTALL_EXE}" | ||||
|     try_remove_file "${portwine_exe}.ppdb" | ||||
|     kill_portwine | ||||
|     portwine_create_shortcut | ||||
| fi | ||||
|   | ||||
| @@ -13,6 +13,7 @@ then | ||||
|         mv -f  "${PORT_WINE_PATH}/data/pfx_dotnet/drive_c/Program Files (x86)/OSU/osu!install.exe" "${PORT_WINE_PATH}/data/pfx_dotnet/drive_c/Program Files (x86)/OSU/osu!.exe" | ||||
|     fi | ||||
|     portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/OSU/osu!.exe" | ||||
|     try_remove_file "${portwine_exe}.ppdb" | ||||
|     # pw_run "${PW_AUTOINSTALL_EXE}" | ||||
|     pw_stop_progress_bar | ||||
|     portwine_create_shortcut | ||||
|   | ||||
| @@ -14,6 +14,7 @@ then | ||||
|     pw_run "${PW_AUTOINSTALL_EXE}" | ||||
|     portwine_exe="${WINEPREFIX}/drive_c/Games/Panzar/PnzSteamLauncher.exe" | ||||
|     try_remove_file "${PW_AUTOINSTALL_EXE}" | ||||
|     try_remove_file "${portwine_exe}.ppdb" | ||||
|     kill_portwine | ||||
|     pw_stop_progress_bar | ||||
|     export PORTWINE_CREATE_SHORTCUT_NAME="Panzar" | ||||
|   | ||||
| @@ -12,6 +12,7 @@ then | ||||
|     pw_run "${PW_AUTOINSTALL_EXE}" | ||||
|     portwine_exe="$WINEPREFIX/drive_c/users/steamuser/AppData/Local/PlariumPlay/PlariumPlay.exe"  | ||||
|     try_remove_file "${PW_AUTOINSTALL_EXE}" | ||||
|     try_remove_file "${portwine_exe}.ppdb" | ||||
|     kill_portwine | ||||
|     pw_stop_progress_bar | ||||
|     export PORTWINE_CREATE_SHORTCUT_NAME="Plarium Play" | ||||
|   | ||||
| @@ -12,6 +12,7 @@ then | ||||
|     pw_run "${PW_AUTOINSTALL_EXE}" | ||||
|     portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/Grinding Gear Games/Path of Exile/PathOfExile.exe" | ||||
|     try_remove_file "${PW_AUTOINSTALL_EXE}" | ||||
|     try_remove_file "${portwine_exe}.ppdb" | ||||
|     kill_portwine | ||||
|     pw_stop_progress_bar | ||||
|     export PORTWINE_CREATE_SHORTCUT_NAME="Path of Exile" | ||||
|   | ||||
| @@ -10,6 +10,7 @@ then | ||||
|     pw_run "${PW_AUTOINSTALL_EXE}" | ||||
|     portwine_exe="$WINEPREFIX/drive_c/Program Files/PPSSPP/PPSSPPWindows64.exe" | ||||
|     try_remove_file "${PW_AUTOINSTALL_EXE}" | ||||
|     try_remove_file "${portwine_exe}.ppdb" | ||||
|     kill_portwine | ||||
|     pw_stop_progress_bar | ||||
|     export PORTWINE_CREATE_SHORTCUT_NAME="PPSSPPWindows" | ||||
|   | ||||
| @@ -10,6 +10,7 @@ then | ||||
|     pw_run "${PW_AUTOINSTALL_EXE}" | ||||
|     portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/Project64 3.0/Project64.exe" | ||||
|     try_remove_file "${PW_AUTOINSTALL_EXE}" | ||||
|     try_remove_file "${portwine_exe}.ppdb" | ||||
|     kill_portwine | ||||
|     pw_stop_progress_bar | ||||
|     export PORTWINE_CREATE_SHORTCUT_NAME="Project64" | ||||
|   | ||||
| @@ -9,6 +9,7 @@ then | ||||
|     "$pw_7z" x -y "${PW_AUTOINSTALL_EXE}" -o"$WINEPREFIX/drive_c/Program Files (x86)" | ||||
|     portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/RetroArch-Win64/retroarch.exe" | ||||
|     try_remove_file "${PW_AUTOINSTALL_EXE}" | ||||
|     try_remove_file "${portwine_exe}.ppdb" | ||||
|     kill_portwine | ||||
|     pw_stop_progress_bar | ||||
|     export PORTWINE_CREATE_SHORTCUT_NAME="RetroArch" | ||||
|   | ||||
| @@ -9,6 +9,7 @@ then | ||||
|     "$pw_7z" x -y "${PW_AUTOINSTALL_EXE}" -o"$WINEPREFIX/drive_c/Program Files/Rockstar Games/Launcher" | ||||
|     portwine_exe="$WINEPREFIX/drive_c/Program Files/Rockstar Games/Launcher/Launcher.exe" | ||||
|     try_remove_file "${PW_AUTOINSTALL_EXE}" | ||||
|     try_remove_file "${portwine_exe}.ppdb" | ||||
|     kill_portwine | ||||
|     pw_stop_progress_bar | ||||
|     export PORTWINE_CREATE_SHORTCUT_NAME="Rockstar" | ||||
|   | ||||
| @@ -11,6 +11,7 @@ then | ||||
|     pw_run "${PW_AUTOINSTALL_EXE}" | ||||
|     portwine_exe="$WINEPREFIX/drive_c/Program Files/ScummVM/scummvm.exe" | ||||
|     try_remove_file "${PW_AUTOINSTALL_EXE}" | ||||
|     try_remove_file "${portwine_exe}.ppdb" | ||||
|     kill_portwine | ||||
|     pw_stop_progress_bar | ||||
|     export PORTWINE_CREATE_SHORTCUT_NAME="ScummVM" | ||||
|   | ||||
| @@ -14,6 +14,7 @@ then | ||||
|     pw_run "${PW_AUTOINSTALL_EXE}" | ||||
|     portwine_exe="$WINEPREFIX/drive_c/users/steamuser/AppData/Roaming/EXBO/java/bin/ExboLauncher.exe" | ||||
|     try_remove_file "${PW_AUTOINSTALL_EXE}" | ||||
|     try_remove_file "${portwine_exe}.ppdb" | ||||
|     kill_portwine | ||||
|     pw_stop_progress_bar | ||||
|     export PORTWINE_CREATE_SHORTCUT_NAME="STALCRAFT" | ||||
|   | ||||
| @@ -14,6 +14,7 @@ then | ||||
|     fi | ||||
|     portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/Steam/steam.exe" | ||||
|     try_remove_file "${PW_AUTOINSTALL_EXE}" | ||||
|     try_remove_file "${portwine_exe}.ppdb" | ||||
|     kill_portwine | ||||
|     pw_stop_progress_bar | ||||
|     export PORTWINE_CREATE_SHORTCUT_NAME="STEAM_PP" | ||||
|   | ||||
| @@ -16,6 +16,7 @@ then | ||||
| #    portwine_exe="${WINEPREFIX}/drive_c/Program Files (x86)/Funcom/Secret World Legends/SecretWorldLegendsDX11.exe" | ||||
|     portwine_exe="${WINEPREFIX}/drive_c/Program Files (x86)/Funcom/Secret World Legends/ClientPatcher.exe" | ||||
|     try_remove_file "${PW_AUTOINSTALL_EXE}" | ||||
|     try_remove_file "${portwine_exe}.ppdb" | ||||
|     kill_portwine | ||||
|     pw_stop_progress_bar | ||||
|     export PORTWINE_CREATE_SHORTCUT_NAME="Secret World Legends" | ||||
|   | ||||
| @@ -11,6 +11,7 @@ then | ||||
|     pw_run "${PW_AUTOINSTALL_EXE}" | ||||
|     portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/Ubisoft Game Launcher/UbisoftConnect.exe" | ||||
|     try_remove_file "${PW_AUTOINSTALL_EXE}" | ||||
|     try_remove_file "${portwine_exe}.ppdb" | ||||
|     kill_portwine | ||||
|     pw_stop_progress_bar | ||||
|     portwine_create_shortcut | ||||
|   | ||||
| @@ -9,6 +9,7 @@ then | ||||
|     "$pw_7z" x -y "${PW_AUTOINSTALL_EXE}" -o"$WINEPREFIX/drive_c/Program Files (x86)/Visualboyadvance-m" | ||||
|     portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/Visualboyadvance-m/visualboyadvance-m.exe" | ||||
|     try_remove_file "${PW_AUTOINSTALL_EXE}" | ||||
|     try_remove_file "${portwine_exe}.ppdb" | ||||
|     kill_portwine | ||||
|     pw_stop_progress_bar | ||||
|     export PORTWINE_CREATE_SHORTCUT_NAME="VBA-M" | ||||
|   | ||||
| @@ -11,6 +11,7 @@ start_portwine | ||||
| if try_download "static.gc.my.games/VKPlayLoader.exe" "${PW_AUTOINSTALL_EXE}" | ||||
| then | ||||
|     portwine_exe="$WINEPREFIX/drive_c/users/steamuser/AppData/Local/VKPlayLoader.exe" | ||||
|     try_remove_file "${portwine_exe}.ppdb" | ||||
|     pw_stop_progress_bar | ||||
|     export PORTWINE_CREATE_SHORTCUT_NAME="vkPlay" | ||||
|     portwine_create_shortcut | ||||
|   | ||||
| @@ -12,6 +12,7 @@ then | ||||
|     pw_run msiexec /i "${PW_AUTOINSTALL_EXE}" | ||||
|     portwine_exe="${WINEPREFIX}/drive_c/users/$USER/AppData/Local/Warframe/Downloaded/Public/Tools/Launcher.exe" | ||||
|     try_remove_file "${PW_AUTOINSTALL_EXE}" | ||||
|     try_remove_file "${portwine_exe}.ppdb" | ||||
|     kill_portwine | ||||
|     pw_stop_progress_bar | ||||
|     export PORTWINE_CREATE_SHORTCUT_NAME="Warframe" | ||||
|   | ||||
| @@ -22,6 +22,7 @@ then | ||||
|     portwine_exe="$WINEPREFIX/drive_c/ProgramData/Wargaming.net/GameCenter/api/wgc_api.exe" | ||||
|     export PORTWINE_CREATE_SHORTCUT_NAME="Wargaming Game Center" | ||||
|     try_remove_file "${PW_AUTOINSTALL_EXE}" | ||||
|     try_remove_file "${portwine_exe}.ppdb" | ||||
|     kill_portwine | ||||
|     portwine_create_shortcut | ||||
| fi | ||||
|   | ||||
| @@ -29,6 +29,7 @@ then | ||||
|     pw_run "${PW_AUTOINSTALL_EXE}"  | ||||
|     portwine_exe="$WINEPREFIX/drive_c/Games/World Of Sea Battle/WorldOfSeaBattleClient.exe" | ||||
|     try_remove_file "${PW_AUTOINSTALL_EXE}" | ||||
|     try_remove_file "${portwine_exe}.ppdb" | ||||
|     kill_portwine | ||||
|     pw_stop_progress_bar | ||||
|     export PORTWINE_CREATE_SHORTCUT_NAME="World of Sea Battle" | ||||
|   | ||||
| @@ -10,6 +10,7 @@ then | ||||
|     pw_run "${PW_AUTOINSTALL_EXE}" | ||||
|     portwine_exe="$WINEPREFIX/drive_c/Program Files/yabause 0.9.15/yabause.exe" | ||||
|     try_remove_file "${PW_AUTOINSTALL_EXE}" | ||||
|     try_remove_file "${portwine_exe}.ppdb" | ||||
|     kill_portwine | ||||
|     pw_stop_progress_bar | ||||
|     export PORTWINE_CREATE_SHORTCUT_NAME="Yabause" | ||||
|   | ||||
| @@ -1,6 +1,6 @@ | ||||
| #!/usr/bin/env bash | ||||
| #Author: Castro-Fidel (linux-gaming.ru) | ||||
| #SCRIPTS_NEXT_VERSION=2162 | ||||
| #SCRIPTS_NEXT_VERSION=2163 | ||||
| ######################################################################## | ||||
| export PW_MANGOHUD=0 | ||||
| export MANGOHUD_CONFIG=cpu_stats,cpu_temp,cpu_mhz,cpu_color=2e97cb,cpu_text=CPU,gpu_stats,gpu_temp,gpu_core_clock,gpu_mem_clock,vulkan_driver,gpu_name,gpu_color=2e9762,gpu_text=GPU,vram,vram_color=ad64c1,ram,ram_color=c26693,io_color=a491d3,frame_timing=1,frametime_color=00ff00,time,arch,wine,wine_color=eb5b5b,engine_color=eb5b5b,background_alpha=0.2,font_size=24,background_color=020202,text_color=ffffff,toggle_hud=Shift_R+F12,resolution,vkbasalt | ||||
|   | ||||
| @@ -466,7 +466,12 @@ portwine_create_shortcut () { | ||||
|     --button="$loc_gui_yes":0  | ||||
|     if [ $? -eq "0" ]; then | ||||
|         try_remove_file "${HOME}/.local/share/applications/${name_desktop}.desktop" | ||||
|         cp -f "${PORT_WINE_PATH}/${name_desktop}.desktop" ${HOME}/.local/share/applications/ | ||||
|         cp -f "${PORT_WINE_PATH}/${name_desktop}.desktop" "${HOME}/.local/share/applications/" | ||||
|         if [[ -d "${HOME}/Desktop" ]] ; then | ||||
|             cp -f "${PORT_WINE_PATH}/${name_desktop}.desktop" "${HOME}/Desktop/" | ||||
|         elif [[ -d "${HOME}/Рабочий стол" ]] ; then | ||||
|             cp -f "${PORT_WINE_PATH}/${name_desktop}.desktop" "${HOME}/Рабочий стол/" | ||||
|         fi | ||||
|     fi | ||||
|     xdg-open "${PORT_WINE_PATH}" 2>1 >/dev/null & | ||||
| } | ||||
| @@ -474,4 +479,9 @@ portwine_create_shortcut () { | ||||
| portwine_delete_shortcut () { | ||||
|     rm -f "`grep -il "${portwine_exe}" "${HOME}/.local/share/applications"/*.desktop`" | ||||
|     rm -f "`grep -il "${portwine_exe}" "${PORT_WINE_PATH}"/*.desktop`" | ||||
|     if [[ -d "${HOME}/Desktop" ]] ; then | ||||
|         rm -f "`grep -il "${portwine_exe}" "${HOME}/Desktop"/*.desktop`" | ||||
|     elif [[ -d "${HOME}/Рабочий стол" ]] ; then | ||||
|         rm -f "`grep -il "${portwine_exe}" "${HOME}/Рабочий стол"/*.desktop`" | ||||
|     fi | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user