diff options
Diffstat (limited to 'BuildTools/SCons')
-rw-r--r-- | BuildTools/SCons/Tools/nsis.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/BuildTools/SCons/Tools/nsis.py b/BuildTools/SCons/Tools/nsis.py index 07ef045..567876d 100644 --- a/BuildTools/SCons/Tools/nsis.py +++ b/BuildTools/SCons/Tools/nsis.py @@ -13,7 +13,7 @@ def generate(env) : Builder = SCons.Builder.Builder env['NSIS_MAKENSIS'] = 'makensis' - env['NSIS_OPTIONS'] = '' + env['NSIS_OPTIONS'] = ["/V2"] def winToLocalReformat(path) : return os.path.join(*path.split("\\")) def scanNsisContent(node, env, path, arg): @@ -26,7 +26,7 @@ def generate(env) : argument = None, skeys = ['.nsi']) nsisbuilder = Builder( - action = '$NSIS_MAKENSIS $NSIS_OPTIONS $SOURCE', + action = SCons.Action.Action('$NSIS_MAKENSIS $NSIS_OPTIONS $SOURCE', cmdstr = '$NSISCOMSTR'), source_scanner = nsisscanner, single_source = True ) |