From 8f47dcab05d69b2808edd2bd00a181118ad1a578 Mon Sep 17 00:00:00 2001 From: Nick Gammon Date: Tue, 14 Jun 2011 15:01:34 +1000 Subject: [PATCH] Added help file database to installer --- install/mushclient.nsi | 2 ++ localize.bat | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/install/mushclient.nsi b/install/mushclient.nsi index f688c6e0..f7a2056f 100644 --- a/install/mushclient.nsi +++ b/install/mushclient.nsi @@ -108,6 +108,7 @@ Section "-MUSHclient program (required)" File "..\WinRel\lua5.1.dll" File "..\lua5.1.lib" File "..\mushclient.HLP" + File "..\help.db" File "..\mushclient.cnt" File "..\install\mushclient.ico" File "..\tips.txt" @@ -530,6 +531,7 @@ Section Uninstall Delete "$INSTDIR\lua5.1.lib" Delete "$INSTDIR\MUSHclient.ico" Delete "$INSTDIR\MUSHclient.hlp" + Delete "$INSTDIR\help.db" Delete "$INSTDIR\MUSHclient.cnt" Delete "$INSTDIR\license.txt" diff --git a/localize.bat b/localize.bat index b2f1a8f9..d285a6ed 100644 --- a/localize.bat +++ b/localize.bat @@ -6,6 +6,10 @@ lua5.1.exe generate_documentation.lua echo Creating documentation help.db file ... del help.db sqlite3 help.db < documentation_fixed.sql +echo Vacuuming the database ... +sqlite3 help.db vacuum +echo Anlyzing the database ... +sqlite3 help.db analyze echo Building list of files to process ... lua5.1.exe build_files_list.lua