diff --git a/aegisub/packages/win_installer/portable/create-portable-64.bat b/aegisub/packages/win_installer/portable/create-portable-64.bat new file mode 100644 index 000000000..e29368042 --- /dev/null +++ b/aegisub/packages/win_installer/portable/create-portable-64.bat @@ -0,0 +1,23 @@ +@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 +xcopy ..\..\..\bin\aegisub64.exe aegisub-portable\ > NUL +xcopy ..\..\..\bin\ffms2_64.dll aegisub-portable\ > NUL +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 +xcopy ..\src\vsfilter-aegisub64.dll aegisub-portable\csri\ > NUL +xcopy ..\src\x64\Microsoft.VC90.CRT\* aegisub-portable\Microsoft.VC90.CRT\ > NUL +xcopy config.json aegisub-portable\ > NUL + +echo Creating SFX +del ..\output\aegisub-3.0.0-portable-64.exe +WinRAR a -sfx -s -m5 -ep1 -r -zportable-comment.txt -iimgside-logo.bmp -iiconicon.ico ..\output\aegisub-3.0.0-portable-64.exe aegisub-portable\ + +echo Removing temp dir +rmdir /S /Q aegisub-portable > NUL + diff --git a/aegisub/packages/win_installer/portable/create-portable.bat b/aegisub/packages/win_installer/portable/create-portable.bat index e42f7d1ba..0a614f74b 100644 --- a/aegisub/packages/win_installer/portable/create-portable.bat +++ b/aegisub/packages/win_installer/portable/create-portable.bat @@ -9,17 +9,17 @@ xcopy ..\..\..\bin\ffms2.dll aegisub-portable\ > NUL xcopy ..\src\ASSDraw3.chm aegisub-portable\ > NUL xcopy ..\src\ASSDraw3.exe aegisub-portable\ > NUL xcopy ..\src\DirectShowSource.dll aegisub-portable\ > NUL -xcopy ..\src\Microsoft.VC90.CRT\* aegisub-portable\Microsoft.VC90.CRT\ > NUL xcopy ..\src\avisynth.dll aegisub-portable\ > NUL xcopy ..\src\devil.dll aegisub-portable\ > NUL xcopy ..\src\dictionaries\en_US.aff aegisub-portable\dictionaries\ > NUL xcopy ..\src\dictionaries\en_US.dic aegisub-portable\dictionaries\ > NUL xcopy ..\src\vsfilter-aegisub32.dll aegisub-portable\csri\ > NUL +xcopy ..\src\x86\Microsoft.VC90.CRT\* aegisub-portable\Microsoft.VC90.CRT\ > NUL xcopy config.json aegisub-portable\ > NUL echo Creating SFX del ..\output\aegisub-3.0.0-portable.exe -WinRAR a -sfx -s -m5 -ep1 -r -zportable-comment.txt -iimgside-logo.bmp -iiconicon.ico ..\output\aegisub-3.0.0-portable.exe aegisub-portable +WinRAR a -sfx -s -m5 -ep1 -r -zportable-comment.txt -iimgside-logo.bmp -iiconicon.ico ..\output\aegisub-3.0.0-portable.exe aegisub-portable\ echo Removing temp dir rmdir /S /Q aegisub-portable > NUL