Commit 7f694b4 elpatron68
committed
1 parent df83002 commit 7f694b4 Copy full SHA for 7f694b4
File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 37
37
set deployment = " ZIPFILE"
38
38
rem set deployment="DIRECTORY"
39
39
rem =============================================================================
40
+ rem Set Farming Simulator version
41
+ set fsversion = " 2019"
42
+ rem set fsversion="2017"
43
+ rem =============================================================================
40
44
rem If you want the command window to close after run: set autoclose="YES".
41
45
rem Otherwise you have to hit a keystroke after the run - which enables you
42
46
rem to see what happened.
@@ -127,13 +131,13 @@ for /f "skip=2 tokens=2*" %%A in ('reg query "HKEY_CURRENT_USER\Software\Microso
127
131
128
132
:: Setting Mod directory
129
133
SETLOCAL
130
- for /f " delims=" %%i in ('cscript %TEMP% \moddir.vbs " %UserDocs% \My Games\FarmingSimulator2017 \gameSettings.xml" //Nologo') do set moddir = %%i
134
+ for /f " delims=" %%i in ('cscript %TEMP% \moddir.vbs " %UserDocs% \My Games\FarmingSimulator %fsversion% \gameSettings.xml" //Nologo') do set moddir = %%i
131
135
132
136
rem Setting Courseplay mod folder or file
133
137
if defined moddir (
134
138
set _dest = %moddir% \ZZZ_courseplay
135
139
) else (
136
- set _dest = %UserDocs% \my games\FarmingSimulator2017 \mods\ZZZ_courseplay
140
+ set _dest = %UserDocs% \my games\FarmingSimulator %fsversion% \mods\ZZZ_courseplay
137
141
)
138
142
139
143
echo Deployment method is %deployment% .
You can’t perform that action at this time.
0 commit comments