summary refs log tree commit diff stats
path: root/win32/compress.bat
diff options
context:
space:
mode:
Diffstat (limited to 'win32/compress.bat')
-rw-r--r--win32/compress.bat19
1 files changed, 19 insertions, 0 deletions
diff --git a/win32/compress.bat b/win32/compress.bat
new file mode 100644
index 00000000..37df1292
--- /dev/null
+++ b/win32/compress.bat
@@ -0,0 +1,19 @@
+@echo off
+set OPATH=%PATH% 
+set PATH=c:\mozilla-build\mpress;c:\mozilla-build\upx
+cd ..\tmp
+for %%A in (*.dll) do upx -9 -q %%A
+for %%A in (*.x64) do mpress -q %%A
+upx xchat.exe
+cd lib\enchant
+for %%A in (*.dll) do upx -9 -q %%A
+for %%A in (*.x64) do mpress -q %%A
+:: gtk-2.0\2.10.0\engines is already packed, skip it
+cd ..\gtk-2.0\modules
+for %%A in (*.dll) do upx -9 -q %%A
+for %%A in (*.x64) do mpress -q %%A
+cd ..\..\..\plugins
+for %%A in (*.dll) do upx -9 -q %%A
+for %%A in (*.x64) do mpress -q %%A
+cd ..\..\build
+set PATH=%OPATH%