-
Notifications
You must be signed in to change notification settings - Fork 37
/
Copy pathinstall.bat
35 lines (27 loc) · 1.33 KB
/
install.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
@if (@a==@b) @end /*
@echo off
setlocal
for /f "delims=" %%I in ('cscript /nologo /e:jscript "%~f0"') do (
set FLDR=%%I
)
if "%FLDR%"=="" (exit)
rd /q /s "%FLDR%\Data\Core\Languages\German (Deutsch)"
rd /q /s "%FLDR%\Data\Royalty\Languages\German (Deutsch)"
rd /q /s "%FLDR%\Data\Ideology\Languages\German (Deutsch)"
rd /q /s "%FLDR%\Data\Biotech\Languages\German (Deutsch)"
rd /q /s "%FLDR%\Data\Anomaly\Languages\German (Deutsch)"
xcopy /s /i "Core" "%FLDR%\Data\Core\Languages\German (Deutsch)"
xcopy /s /i "Royalty" "%FLDR%\Data\Royalty\Languages\German (Deutsch)"
xcopy /s /i "Ideology" "%FLDR%\Data\Ideology\Languages\German (Deutsch)"
xcopy /s /i "Biotech" "%FLDR%\Data\Biotech\Languages\German (Deutsch)"
xcopy /s /i "Anomaly" "%FLDR%\Data\Anomaly\Languages\German (Deutsch)"
del "%FLDR%\Data\Core\Languages\German (Deutsch).tar"
del "%FLDR%\Data\Royalty\Languages\German (Deutsch).tar"
del "%FLDR%\Data\Ideology\Languages\German (Deutsch).tar"
del "%FLDR%\Data\Biotech\Languages\German (Deutsch).tar"
del "%FLDR%\Data\Anomaly\Languages\German (Deutsch).tar"
goto :EOF
:: JScript portion */
var shl = new ActiveXObject("Shell.Application");
var folder = shl.BrowseForFolder(0, "Wähle den RimWorld-Ordner aus. Standardmäßig:\nC:\\Programme (x86)\\Steam\\steamapps\\common\\RimWorld", 0, 0x11);
WSH.Echo(folder ? folder.self.path : '');