From: Daira Hopwood Date: Tue, 28 Oct 2014 16:38:29 +0000 (+0000) Subject: Unzip the actual executable. X-Git-Url: https://git.rkrishnan.org/simplejson/components/...?a=commitdiff_plain;h=8f6e1645db9f949afcd172d178891ecebdcc4c2c;p=tahoe-lafs%2Ftahoe-lafs.git Unzip the actual executable. Signed-off-by: Daira Hopwood --- diff --git a/misc/build_helpers/windows/installer/installer/installer.cpp b/misc/build_helpers/windows/installer/installer/installer.cpp index 93a2da57..7cb53573 100644 --- a/misc/build_helpers/windows/installer/installer/installer.cpp +++ b/misc/build_helpers/windows/installer/installer/installer.cpp @@ -79,7 +79,7 @@ void unzip_from_executable(wchar_t *executable_path, wchar_t *destination_dir) { unsigned char disk_num[] = {0x00, 0x00}; errno = 0; - FILE *f = _wfopen(L"C:\\tahoe\\foo.zip", L"rb"); + FILE *f = _wfopen(executable_path, L"rb"); fail_unless(f != NULL && errno == 0 && ferror(f) == 0, "Could not open executable file.");