git-svn-id: http://svn.pyinstaller.org/trunk@570 8dd32b29-ccff-0310-8a9a-9233e24343b1
This commit is contained in:
naufraghi
2008-12-11 19:36:56 +00:00
parent ef0ba534d3
commit ee0a4bbe51
+3 -3
View File
@@ -59,12 +59,12 @@ int main(int argc, char* argv[])
strcat(thisfile, ".exe");
PI_SetProgramName(thisfile);
}
else
else
#endif
PI_SetProgramName(argv[0]);
PI_SetProgramName(argv[0]);
strcpy(thisfile, PI_GetProgramFullPath());
VS("thisfile is %s\n", thisfile);
workpath = getenv( "_MEIPASS2" );
VS("_MEIPASS2 (workpath) is %s\n", (workpath ? workpath : "NULL"));