-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
Showing
1 changed file
with
7 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
@echo off | ||
setlocal enabledelayedexpansion | ||
|
||
FOR /F "tokens=2* skip=2" %%a in ('reg query "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v "personal"') do set DocumentsFolder=%%b | ||
for /F "tokens=2* skip=2" %%a in ('reg query "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v "personal"') do set DocumentsFolder=%%b | ||
|
||
echo "Installing multiplayer mod in folder: %DocumentsFolder%\Klei\OxygenNotIncluded\mods\Local\MultiplayerMod\" | ||
xcopy /s .\MultiplayerMod %DocumentsFolder%\Klei\OxygenNotIncluded\mods\Local\MultiplayerMod\ | ||
call set "DocumentsFolder=!DocumentsFolder!" | ||
set InstallationPath=%DocumentsFolder%\Klei\OxygenNotIncluded\mods\Local\MultiplayerMod\ | ||
|
||
echo "Installing multiplayer mod in folder: %InstallationPath%" | ||
xcopy /s .\MultiplayerMod "%InstallationPath%" | ||
pause |