개정판 9f56088c
난독화 추가
Change-Id: Ia19e258cd4b4a6ec585d3d20dbce63e3e37b9280
obfuscarBuild.Bat | ||
---|---|---|
1 | 1 |
@ECHO OFF |
2 | 2 |
SETLOCAL |
3 | 3 |
|
4 |
FOR /R .\packages %%G IN (Obfuscar.Console.exe) DO ( |
|
4 |
SET packagesPath=%1packages |
|
5 |
echo "package Path : %packagesPath%" |
|
6 |
|
|
7 |
FOR /R %packagesPath% %%G IN (Obfuscar.Console.exe) DO ( |
|
5 | 8 |
IF EXIST %%G ( |
6 | 9 |
SET TOOLPATH=%%G |
7 | 10 |
GOTO FOUND |
8 | 11 |
) |
9 | 12 |
) |
10 | 13 |
|
14 |
|
|
11 | 15 |
IF '%TOOLPATH%'=='' GOTO NOTFOUND |
12 | 16 |
|
13 | 17 |
:FOUND |
14 | 18 |
|
15 |
set targetPath=%1 |
|
19 |
ECHO "TOOLPATH : %TOOLPATH%" |
|
20 |
|
|
21 |
set targetPath=%2 |
|
16 | 22 |
|
17 | 23 |
set targetPath=%targetPath:~0,-1% |
18 |
echo %targetPath% |
|
24 |
echo "targetPath : %targetPath%" |
|
25 |
|
|
19 | 26 |
cd %targetPath% |
20 | 27 |
|
21 |
echo %* |
|
22 |
%TOOLPATH% -s %2 |
|
28 |
%TOOLPATH% -s %3 |
|
23 | 29 |
GOTO :EOF |
24 | 30 |
|
25 | 31 |
:NOTFOUND |
내보내기 Unified diff