|
|
@ -741,13 +741,11 @@ void CPatchManager::createBatchFile(CProductDescriptionForClient &descFile, bool
|
|
|
|
throw Exception (err);
|
|
|
|
throw Exception (err);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
//use bat if windows if not use sh
|
|
|
|
//use bat if windows if not use sh
|
|
|
|
#ifdef NL_OS_WINDOWS
|
|
|
|
#ifdef NL_OS_WINDOWS
|
|
|
|
fprintf(fp, "@echo off\n");
|
|
|
|
fprintf(fp, "@echo off\n");
|
|
|
|
#elif NL_OS_MAC
|
|
|
|
#else
|
|
|
|
// mac patcher doesn't work yet
|
|
|
|
fprintf(fp, "#!/bin/sh\n");
|
|
|
|
#else
|
|
|
|
#endif
|
|
|
|
fprintf(fp, "#!/bin/sh\npwd\n");
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Unpack files with category ExtractPath non empty
|
|
|
|
// Unpack files with category ExtractPath non empty
|
|
|
|