1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-19 00:20:25 +02:00

Fixed theme image merging issue with missing elements

This commit is contained in:
Brian Fiete 2022-03-03 06:46:06 -08:00
parent 85acdda2b4
commit 20a932f5a7
3 changed files with 8 additions and 2 deletions

View file

@ -469,6 +469,9 @@ namespace IDE
mColors.Deserialize(sd);
}
String imgCreatePath = scope String(gApp.mInstallDir, "images/ImgCreate.exe");
let imgCreateExeTime = File.GetLastWriteTime(imgCreatePath).GetValueOrDefault();
for (let theme in mTheme)
{
String relPath = scope .()..Append(gApp.mInstallDir, "themes/");
@ -523,12 +526,12 @@ namespace IDE
needsRebuild = true;
if (origImageTime > minDestImgTime)
needsRebuild = true;
if (imgCreateExeTime > minDestImgTime)
needsRebuild = true;
}
if (needsRebuild)
{
String imgCreatePath = scope String(absPath, "../../images/ImgCreate.exe");
ProcessStartInfo procInfo = scope ProcessStartInfo();
procInfo.UseShellExecute = false;
procInfo.RedirectStandardError = true;