From cc903db7278ef2cf47ed5662d7cb9457e22604fc Mon Sep 17 00:00:00 2001 From: Berke Viktor Date: Thu, 4 Oct 2012 19:57:15 +0200 Subject: Add scripts for building the spelling dictionaries SFX --- win32/spelling/build-spelling.bat | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 win32/spelling/build-spelling.bat (limited to 'win32/spelling/build-spelling.bat') diff --git a/win32/spelling/build-spelling.bat b/win32/spelling/build-spelling.bat new file mode 100644 index 00000000..db83ef12 --- /dev/null +++ b/win32/spelling/build-spelling.bat @@ -0,0 +1,21 @@ +:: run this from a command prompt +:: TODO: change it to LocalAppdata when GLib is updated +@echo off + +set DEPS_ROOT=C:\mozilla-build\hexchat +set SPELLING_DEST=..\build\spelling + +rmdir /q /s %SPELLING_DEST% +mkdir %SPELLING_DEST% +xcopy /q /s /i %DEPS_ROOT%\myspell\dicts %SPELLING_DEST%\myspell +cd .. +echo [Setup] > build\spelling\hexchat-spelling.iss +echo WizardImageFile=%cd%\installer\wizardimage.bmp >> build\spelling\hexchat-spelling.iss +echo WizardSmallImageFile=%cd%\installer\wizardsmallimage.bmp >> build\spelling\hexchat-spelling.iss +cd .. +echo SetupIconFile=%cd%\hexchat.ico >> win32\build\spelling\hexchat-spelling.iss +type win32\spelling\hexchat-spelling.skel.iss >> win32\build\spelling\hexchat-spelling.iss +set PATH=%PROGRAMFILES(X86)%\Inno Setup 5 +compil32 /cc win32\build\spelling\hexchat-spelling.iss +cd win32\spelling +pause -- cgit 1.4.1