2012-04-04 18:46:14 +02:00
|
|
|
@echo off
|
|
|
|
|
|
|
|
echo Gathering files
|
|
|
|
xcopy ..\..\..\automation\autoload\*.lua aegisub-portable\automation\autoload\ > NUL
|
|
|
|
xcopy ..\..\..\automation\demos\*.lua aegisub-portable\automation\demos\ > NUL
|
|
|
|
xcopy ..\..\..\automation\include\*.lua aegisub-portable\automation\include\ > NUL
|
2018-04-29 21:18:39 +02:00
|
|
|
xcopy ..\..\..\bin\aegisub64.exe aegisub-portable\ > NUL
|
|
|
|
xcopy ..\..\..\bin\ffms2_64.dll aegisub-portable\ > NUL
|
2012-04-04 18:46:14 +02:00
|
|
|
xcopy ..\src\ASSDraw3.chm aegisub-portable\ > NUL
|
|
|
|
xcopy ..\src\ASSDraw3.exe aegisub-portable\ > NUL
|
|
|
|
xcopy ..\src\dictionaries\en_US.aff aegisub-portable\dictionaries\ > NUL
|
|
|
|
xcopy ..\src\dictionaries\en_US.dic aegisub-portable\dictionaries\ > NUL
|
2018-04-29 21:18:39 +02:00
|
|
|
xcopy ..\src\vsfilter-aegisub64.dll aegisub-portable\csri\ > NUL
|
|
|
|
xcopy ..\src\x64\Microsoft.VC90.CRT\* aegisub-portable\Microsoft.VC90.CRT\ > NUL
|
2012-04-04 18:46:14 +02:00
|
|
|
xcopy config.json aegisub-portable\ > NUL
|
|
|
|
|
|
|
|
echo Creating SFX
|
2018-04-29 21:18:39 +02:00
|
|
|
del ..\output\aegisub-3.1.0-portable-64.exe
|
|
|
|
WinRAR a -sfx -s -m5 -ep1 -r -zportable-comment.txt -iimgside-logo.bmp -iiconicon.ico ..\output\aegisub-3.1.0-portable-64.exe aegisub-portable\
|
2012-04-04 18:46:14 +02:00
|
|
|
|
|
|
|
echo Removing temp dir
|
|
|
|
rmdir /S /Q aegisub-portable > NUL
|