不再修改device.def

This commit is contained in:
13038267101 2023-01-12 16:48:50 +08:00
parent 277219b1be
commit f628d56922
2 changed files with 2 additions and 2 deletions

Binary file not shown.

View File

@ -1265,10 +1265,10 @@ static bool set_ver(const wchar_t* file, oem vendor, bool x86, int pid, int main
if (!rc::set_rc_ver(rcf.c_str(), main, sub, build, patch, cn.c_str(), scn.c_str(), vs.c_str())) if (!rc::set_rc_ver(rcf.c_str(), main, sub, build, patch, cn.c_str(), scn.c_str(), vs.c_str()))
std::wcout << "change version failed: " << rcf.c_str() << std::endl; std::wcout << "change version failed: " << rcf.c_str() << std::endl;
rcf = base + L"\\..\\device\\device.def"; /* rcf = base + L"\\..\\device\\device.def";
STR_SIMPLIFY_PATH(rcf); STR_SIMPLIFY_PATH(rcf);
if (!rc::change_file(rcf.c_str(), &param, rc::change_device_def)) if (!rc::change_file(rcf.c_str(), &param, rc::change_device_def))
std::wcout << "change exporting-definition failed: " << rcf.c_str() << std::endl; std::wcout << "change exporting-definition failed: " << rcf.c_str() << std::endl;*/
} }
rcf = base + L"\\..\\twain\\twain.vcxproj"; rcf = base + L"\\..\\twain\\twain.vcxproj";