Add a batch file to generate the portable self-extracting archive

Originally committed to SVN as r6660.
This commit is contained in:
Thomas Goyne 2012-04-04 16:46:14 +00:00
parent 113b09035e
commit 8e98e6d61e
7 changed files with 40 additions and 44 deletions

View file

@ -1,11 +0,0 @@
Path=.\Aegisub portable
Title=Aegisub 3.0.0 Portable
Text
{
<h1 style="font-family: Tahoma; font-size: 20px; text-align: center;">Aegisub 3.0.0 Portable</h1>
<p style="font-family: Tahoma; font-size: 12px;">This archive contains a "portable" version of
Aegisub, suitable for running e.g. from USB pen drives. Several features are stripped away
to keep the size small, this includes most spell checker dictionaries. These are available as
a separate download at the <a href="http://www.aegisub.org/" target="_blank">Aegisub website</a>.</p>
<p style="font-family: Tahoma; font-size: 14px;">Select where you want to unpack Aegisub and click <i>Extract</i>.</p>
}

View file

@ -1,33 +0,0 @@
aegisub32.exe
avisynth.dll
devil.dll
directshowsource.dll
ffms2.dll
vsfilter-aegisub32.dll
config.json
Microsoft.VC90.CRT\Microsoft.VC90.CRT.manifest
Microsoft.VC90.CRT\msvcm90.dll
Microsoft.VC90.CRT\msvcp90.dll
Microsoft.VC90.CRT\msvcr90.dll
Microsoft.VC90.MFC\Microsoft.VC90.MFC.manifest
Microsoft.VC90.MFC\mfc90u.dll
Microsoft.VC90.OPENMP\Microsoft.VC90.OPENMP.manifest
Microsoft.VC90.OPENMP\vcomp90.dll
automation\autoload\cleantags-autoload.lua
automation\autoload\karaoke-auto-leadin.lua
automation\autoload\kara-templater.lua
automation\autoload\macro-1-edgeblur.lua
automation\autoload\macro-2-mkfullwitdh.lua
automation\autoload\select-overlaps.lua
automation\autoload\strip-tags.lua
automation\demos\future-windy-blur.lua
automation\include\cleantags.lua
automation\include\karaskel.lua
automation\include\karaskel-adv.lua
automation\include\karaskel-auto4.lua
automation\include\karaskel-base.lua
automation\include\unicode.lua
automation\include\utils.lua
automation\include\utils-auto4.lua
dictionaries\en_US.aff
dictionaries\en_US.dic

View file

@ -0,0 +1,26 @@
@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\aegisub32.exe aegisub-portable\ > NUL
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 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
echo Removing temp dir
rmdir /S /Q aegisub-portable > NUL

Binary file not shown.

After

Width:  |  Height:  |  Size: 305 KiB

View file

@ -0,0 +1,14 @@
Path=.\Aegisub portable
Title=Aegisub 3.0.0 Portable
Text
{
<h1 style="font-family: Tahoma; font-size: 20px; text-align: center;">Aegisub 3.0.0 Portable</h1>
<p style="font-family: Tahoma; font-size: 12px;">This archive contains a
"portable" version of Aegisub, suitable for running from USB pen drives or on
machines which you cannot install software on. To reduce the size several
things are left out, such as most spellchecker dictionaries and the UI
translations. The dictionaries are available as a separate download at the <a
href="http://www.aegisub.org/" target="_blank">Aegisub website</a>.</p>
<p style="font-family: Tahoma; font-size: 14px;">Select where you want to
unpack Aegisub and click <i>Extract</i>.</p>
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB