From f6e076c4a12edb10c2efce8f21bbabdb4d30f7a5 Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Sat, 24 Nov 2012 06:00:29 +0000 Subject: [PATCH] Update standalone code in Catch the Chicken NSIS installer. --- misc/nsis/ioquake3-q3ctc.nsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/misc/nsis/ioquake3-q3ctc.nsi b/misc/nsis/ioquake3-q3ctc.nsi index 3ccb19a9..e9e2630e 100644 --- a/misc/nsis/ioquake3-q3ctc.nsi +++ b/misc/nsis/ioquake3-q3ctc.nsi @@ -111,11 +111,11 @@ Section "${NAME}" sec_base WriteUninstaller "uninstall-${FSNAME}.exe" !ifdef STANDALONE -!define ARGS "+set com_standalone 1 " +!define ARGS "+set com_basegame ${MODDIR}" !else -!define ARGS "" +!define ARGS "+set fs_game ${MODDIR}" !endif - CreateShortCut "$SMPROGRAMS\ioquake3\${NAME}.lnk" "$INSTDIR\ioquake3.x86.exe" "${ARGS}+set fs_game ${MODDIR}" "$INSTDIR\ioquake3.x86.exe" 0 "" "" "${NAME}" + CreateShortCut "$SMPROGRAMS\ioquake3\${NAME}.lnk" "$INSTDIR\ioquake3.x86.exe" "${ARGS}" "$INSTDIR\ioquake3.x86.exe" 0 "" "" "${NAME}" SectionEnd