Added !makensis command

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6498 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
anders_k 2014-06-21 23:55:24 +00:00
parent a81d5dfb49
commit bf2f0fad80
8 changed files with 55 additions and 21 deletions

View file

@ -46,6 +46,7 @@ UINT g_wincon_orgoutcp;
WINSIO_OSDATA g_osdata_stdout;
#endif
#endif
const TCHAR *g_argv0=0;
static void dopause(void)
{
@ -284,6 +285,8 @@ static inline int makensismain(int argc, TCHAR **argv)
assert(sizeof(WINWCHAR) == 2 && sizeof(WORD) == 2);
assert(sizeof(WINWCHAR) == sizeof(WCHAR)); // Not really required but if WCHAR changes we need to know
g_argv0=argv[0];
if (!NSISRT_Initialize())
{
_ftprintf(stdout,_T("NSISRT_Initialize failed!\n"));