Commit 55760cd8 authored by Mikhail Tergoev's avatar Mikhail Tergoev

update mw autoinstall

parent 535fec96
......@@ -5,6 +5,7 @@
###Scripts version 2245### Дата: 15.01.2024 / Размер скачиваемого обновления: 8 мегабайт
* улучшен функционал выбора видеокарты nvidia с гибридной графикой
* небольшие улучшения переводов
* добавлена автоустановка игры Modern Warships (спасибо ValoKarDin)
###Scripts version 2244### Дата: 14.01.2024 / Размер скачиваемого обновления: 8 мегабайт
* обновлен PROTON_LG до версии 8-25-2 (добавлены шрифты из proton steam)
......
#!/usr/bin/env bash
#Author: ValoKarDin
#launcher.exe
#modern_warships_pp.exe
#Rating=5
export PW_COMMENT_DB="Modern Warships"
################################################
......@@ -8,5 +8,5 @@ export PW_VULKAN_USE=2 #dxvk, vkd3d or 0 for OpenGL
export PW_DLL_INSTALL="lucida" # Install DLL in port prefix (used winetricks)
export PW_USE_D3D_EXTRAS="1"
export PW_USE_EAC_AND_BE="0"
export PW_PREFIX_NAME="MW"
export PW_PREFIX_NAME="MODERN_WARSHIPS"
export PW_USE_SHADER_CACHE="1"
......@@ -2,8 +2,9 @@
# Author: ValoKarDin
########################################################################
export LAUNCH_PARAMETERS=("/VERYSILENT")
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/.exe"
export PW_PREFIX_NAME="MW"
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/modern_warships.exe"
export PW_PREFIX_NAME="MODERN_WARSHIPS"
export PORTWINE_CREATE_SHORTCUT_NAME="Modern Warships"
start_portwine
......@@ -12,8 +13,8 @@ then
pw_start_progress_bar_block "Starting Modern Warships installation..."
pw_kill_autostart launcher.exe &
pw_run "${PW_AUTOINSTALL_EXE}"
portwine_exe="$WINEPREFIX/drive_c/users/steamuser/AppData/Local/ModernWarships/launcher.exe"
export PORTWINE_CREATE_SHORTCUT_NAME="Modern Warships"
portwine_exe="$WINEPREFIX/drive_c/users/$USER/AppData/Local/ModernWarships/launcher.exe"
pw_create_unique_exe "modern_warships_pp"
try_remove_file "${PW_AUTOINSTALL_EXE}"
try_remove_file "${portwine_exe}.ppdb"
kill_portwine
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment