diff --git a/aegisub/packages/win_installer/portable-comment.txt b/aegisub/packages/win_installer/portable-comment.txt deleted file mode 100644 index a9d9a1688..000000000 --- a/aegisub/packages/win_installer/portable-comment.txt +++ /dev/null @@ -1,11 +0,0 @@ -Path=.\Aegisub portable -Title=Aegisub 3.0.0 Portable -Text -{ -

Aegisub 3.0.0 Portable

-

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 Aegisub website.

-

Select where you want to unpack Aegisub and click Extract.

-} diff --git a/aegisub/packages/win_installer/portable-sources.txt b/aegisub/packages/win_installer/portable-sources.txt deleted file mode 100644 index 92a67f7bc..000000000 --- a/aegisub/packages/win_installer/portable-sources.txt +++ /dev/null @@ -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 diff --git a/aegisub/packages/win_installer/portable_config.json b/aegisub/packages/win_installer/portable/config.json similarity index 100% rename from aegisub/packages/win_installer/portable_config.json rename to aegisub/packages/win_installer/portable/config.json diff --git a/aegisub/packages/win_installer/portable/create-portable.bat b/aegisub/packages/win_installer/portable/create-portable.bat new file mode 100644 index 000000000..e42f7d1ba --- /dev/null +++ b/aegisub/packages/win_installer/portable/create-portable.bat @@ -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 + diff --git a/aegisub/packages/win_installer/portable/icon.ico b/aegisub/packages/win_installer/portable/icon.ico new file mode 100644 index 000000000..c74e4a38a Binary files /dev/null and b/aegisub/packages/win_installer/portable/icon.ico differ diff --git a/aegisub/packages/win_installer/portable/portable-comment.txt b/aegisub/packages/win_installer/portable/portable-comment.txt new file mode 100644 index 000000000..e1e9c025a --- /dev/null +++ b/aegisub/packages/win_installer/portable/portable-comment.txt @@ -0,0 +1,14 @@ +Path=.\Aegisub portable +Title=Aegisub 3.0.0 Portable +Text +{ +

Aegisub 3.0.0 Portable

+

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 Aegisub website.

+

Select where you want to +unpack Aegisub and click Extract.

+} diff --git a/aegisub/packages/win_installer/portable/side-logo.bmp b/aegisub/packages/win_installer/portable/side-logo.bmp new file mode 100644 index 000000000..17401d54a Binary files /dev/null and b/aegisub/packages/win_installer/portable/side-logo.bmp differ