Skip to content
Snippets Groups Projects
Commit 0f5bbec3 authored by Mark Palange (Mani)'s avatar Mark Palange (Mani)
Browse files

Minor tweaks to fix up viewer_manifest.

-bad tcmalloc handling indentation
-added nsis path for x64 windows
parent 5d8314f5
No related branches found
No related tags found
No related merge requests found
...@@ -271,8 +271,8 @@ def construct(self): ...@@ -271,8 +271,8 @@ def construct(self):
# For google-perftools tcmalloc allocator. # For google-perftools tcmalloc allocator.
if self.prefix(src="../../libraries/i686-win32/lib/release", dst=""): if self.prefix(src="../../libraries/i686-win32/lib/release", dst=""):
self.path("libtcmalloc_minimal.dll") self.path("libtcmalloc_minimal.dll")
self.end_prefix() self.end_prefix()
def nsi_file_commands(self, install=True): def nsi_file_commands(self, install=True):
...@@ -395,6 +395,8 @@ def package_finish(self): ...@@ -395,6 +395,8 @@ def package_finish(self):
# We use the Unicode version of NSIS, available from # We use the Unicode version of NSIS, available from
# http://www.scratchpaper.com/ # http://www.scratchpaper.com/
NSIS_path = 'C:\\Program Files\\NSIS\\Unicode\\makensis.exe' NSIS_path = 'C:\\Program Files\\NSIS\\Unicode\\makensis.exe'
if not os.path.exists(NSIS_path):
NSIS_path = os.path.expandvars('${ProgramFiles(x86)}\\NSIS\\Unicode\\makensis.exe')
self.run_command('"' + proper_windows_path(NSIS_path) + '" ' + self.dst_path_of(tempfile)) self.run_command('"' + proper_windows_path(NSIS_path) + '" ' + self.dst_path_of(tempfile))
# self.remove(self.dst_path_of(tempfile)) # self.remove(self.dst_path_of(tempfile))
# If we're on a build machine, sign the code using our Authenticode certificate. JC # If we're on a build machine, sign the code using our Authenticode certificate. JC
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment