- fix: "project name".exe.manifest is auto removed when build the project.

This commit is contained in:
Roy Qu 2024-03-27 17:45:48 +08:00
parent c941ae4cf8
commit 6526e8caec
2 changed files with 2 additions and 5 deletions

View File

@ -98,6 +98,7 @@ Red Panda C++ Version 2.27
- enhancement: Adjust function tip pos to prevent it from run outside the right window edge.
- enhancement: Open ".def" (Module definition file) file in editor when double click it in the project view.
- enhancement: When a dll project has .def file, use it when generating the dll file.
- fix: "project name".exe.manifest is auto removed when build the project.
Red Panda C++ Version 2.26
- enhancement: Code suggestion for embedded std::vectors.

View File

@ -1543,9 +1543,6 @@ void Project::buildPrivateResource()
QFile::remove(resFile);
mOptions.privateResource = "";
}
// if fileExists(Res) then
// FileSetDate(Res, DateTimeToFileDate(Now)); // fix the "Clock skew detected" warning ;)
// create XP manifest
if (mOptions.supportXPThemes) {
QStringList content;
@ -1575,8 +1572,7 @@ void Project::buildPrivateResource()
content.append("</dependency>");
content.append("</assembly>");
stringsToFile(content,executable() + ".Manifest");
} else if (fileExists(executable() + ".Manifest"))
QFile::remove(executable() + ".Manifest");
}
// create private header file
QString hFile = changeFileExt(rcFile, H_EXT);