Add scripts for building the spelling dictionaries SFX
This commit is contained in:
parent
5af19dfb64
commit
cc903db727
21
win32/spelling/build-spelling.bat
Normal file
21
win32/spelling/build-spelling.bat
Normal file
@ -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
|
31
win32/spelling/hexchat-spelling.skel.iss
Normal file
31
win32/spelling/hexchat-spelling.skel.iss
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
AppName=HexChat Spelling Dictionaries
|
||||||
|
AppVerName=HexChat Spelling Dictionaries r1
|
||||||
|
AppVersion=1.0
|
||||||
|
VersionInfoVersion=1.0
|
||||||
|
OutputBaseFilename=HexChat Spelling Dictionaries r1
|
||||||
|
AppPublisher=HexChat
|
||||||
|
AppPublisherURL=http://www.hexchat.org/
|
||||||
|
AppCopyright=Copyright (C) 1998-2010 Peter Zelezny
|
||||||
|
AppSupportURL=https://github.com/hexchat/hexchat/issues
|
||||||
|
AppUpdatesURL=http://www.hexchat.org/home/downloads
|
||||||
|
DefaultDirName={userappdata}\enchant
|
||||||
|
DefaultGroupName=HexChat
|
||||||
|
DisableProgramGroupPage=yes
|
||||||
|
DisableDirPage=yes
|
||||||
|
SolidCompression=yes
|
||||||
|
Compression=lzma2/ultra64
|
||||||
|
SourceDir=.
|
||||||
|
OutputDir=.
|
||||||
|
FlatComponentsList=no
|
||||||
|
PrivilegesRequired=lowest
|
||||||
|
ShowComponentSizes=no
|
||||||
|
CreateUninstallRegKey=no
|
||||||
|
Uninstallable=no
|
||||||
|
DirExistsWarning=no
|
||||||
|
ArchitecturesAllowed=x86 x64
|
||||||
|
|
||||||
|
[Files]
|
||||||
|
Source: "myspell\*"; DestDir: "{app}\myspell"; Flags: createallsubdirs recursesubdirs
|
||||||
|
|
||||||
|
[Messages]
|
||||||
|
BeveledLabel= HexChat
|
Loading…
Reference in New Issue
Block a user