개정판 e7194723
daelim test 추가
Change-Id: Ic55a7c81b013ac6f839259a3e1bfc1cfb18e7db3
appCast.bat | ||
---|---|---|
15 | 15 |
|
16 | 16 |
rem version |
17 | 17 |
|
18 |
set hostbaseUrl=%1
|
|
19 |
set updateVersion=%2
|
|
18 |
set hostbaseUrl=%3
|
|
19 |
set updateVersion=%1
|
|
20 | 20 |
|
21 | 21 |
IF [%hostbaseUrl%]==[] goto :ERROR |
22 | 22 |
if [%updateVersion%]==[] goto :ERROR |
... | ... | |
24 | 24 |
echo "Update Version %updateVersion%" |
25 | 25 |
|
26 | 26 |
rem set APPCAST_PUBLISH_PATH=%cd%\publish\AppCast\%TimeStamp% |
27 |
set APPCAST_PUBLISH_PATH=%cd%\publish\AppCast\ |
|
27 |
set APPCAST_PUBLISH_PATH=%cd%\publish\AppCast_Local\
|
|
28 | 28 |
SET MARKUS_PUBLISH_PATH=%cd%\Setup\Release_Default |
29 | 29 |
|
30 | 30 |
echo "current : %current_dir%" |
31 |
echo "APPCAST PATH : %APPCAST_PUBLISH_PATH%" |
|
32 |
echo "AppCast Path : %current_dir:"=%\%APPCAST_PUBLISH_PATH:"=%" |
|
33 |
echo "Publish Markus : %current_dir:"=%\%MARKUS_PUBLISH_PATH:"=%" |
|
31 |
echo "APPCAST PUBLISH PATH : %APPCAST_PUBLISH_PATH%" |
|
34 | 32 |
|
35 | 33 |
IF NOT EXIST %LocalAppData%\netsparkle\NetSparkle_Ed25519.pub ( |
36 | 34 |
echo "generate-keys pass" |
... | ... | |
41 | 39 |
|
42 | 40 |
IF NOT EXIST %APPCAST_PUBLISH_PATH%\. MKDIR %APPCAST_PUBLISH_PATH% |
43 | 41 |
|
42 |
IF "%2"=="" GOTO Continue |
|
43 |
|
|
44 |
|
|
45 |
SET SIGNTOOLPATH="C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x64\signtool.exe" |
|
46 |
set SolutionPath=%cd% |
|
47 |
SET SIGNPATH=%SolutionPath%\Sign\www.doftech.co.kr.pfx |
|
48 |
|
|
49 |
%SIGNTOOLPATH% sign /v /f %SIGNPATH% /p Doftech1073# /tr http://timestamp.digicert.com /td sha256 /fd sha256 %MARKUS_PUBLISH_PATH%\*.exe |
|
50 |
%SIGNTOOLPATH% sign /v /f %SIGNPATH% /p Doftech1073# /tr http://timestamp.digicert.com /td sha256 /fd sha256 %MARKUS_PUBLISH_PATH%\Plugin\*.exe |
|
51 |
|
|
52 |
start %APPCAST_PUBLISH_PATH% |
|
53 |
|
|
54 |
:Continue |
|
55 |
|
|
56 |
xcopy /s %cd%\INI\MARKUS.ini %MARKUS_PUBLISH_PATH%\MARKUS.* /Y /F |
|
57 |
|
|
58 |
Xcopy %cd%\Accessories\* %APPCAST_PUBLISH_PATH% /I /E /S /Y /F |
|
59 |
|
|
60 |
|
|
44 | 61 |
.\AppCast\generate_appcast.exe -u %hostbaseUrl% -p %cd%\ChangeLog -a %APPCAST_PUBLISH_PATH% -e * -b %MARKUS_PUBLISH_PATH% -o windows -n Markus -x -v %updateVersion% |
45 | 62 |
|
46 |
REM for /R %MARKUS_PUBLISH_PATH%\ %%f in (*.*) do ( |
|
47 |
REM echo "signature %%f" |
|
48 |
REM .\AppCast\generate_appcast.exe --generate-signature %%f |
|
49 |
REM .\AppCast\generate_appcast.exe --verify %%f --signature %base_64_signature% |
|
50 |
REM ) |
|
51 | 63 |
|
52 | 64 |
:ERROR |
53 |
echo arg1 arg2 exits |
|
54 |
echo ex : appCast.bat http://hostname:port x.x.x |
|
65 |
echo arg1 arg2 arg3 exits |
|
66 |
echo parameter ex : appCast.bat version newSignFlag hostUrl |
내보내기 Unified diff