Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PortWINE
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mikhail Tergoev
PortWINE
Commits
1cb3ecda
Unverified
Commit
1cb3ecda
authored
Jan 16, 2024
by
valokardin
Committed by
GitHub
Jan 16, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Modern Warships autoinstall file
parent
c8397053
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
+23
-0
PW_MW
data_from_portwine/scripts/pw_autoinstall/PW_MW
+23
-0
No files found.
data_from_portwine/scripts/pw_autoinstall/PW_MW
0 → 100644
View file @
1cb3ecda
#!/usr/bin/env bash
# Author: ValoKarDin
########################################################################
export
LAUNCH_PARAMETERS
=(
"/VERYSILENT"
)
export
PW_AUTOINSTALL_EXE
=
"
${
PW_USER_TEMP
}
/.exe"
export
PW_PREFIX_NAME
=
"MW"
start_portwine
if
try_download_game
"https://gdn.gaijin.net/launcher/current.php?id=ModernWarshipsLauncher"
"
${
PW_AUTOINSTALL_EXE
}
"
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"
try_remove_file
"
${
PW_AUTOINSTALL_EXE
}
"
try_remove_file
"
${
portwine_exe
}
.ppdb"
kill_portwine
portwine_create_shortcut
fi
stop_portwine
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment