Skip to content

Commit

Permalink
update asdf, restart when runtime installed
Browse files Browse the repository at this point in the history
  • Loading branch information
rounk-ctrl committed Aug 16, 2023
1 parent c0c5168 commit 520c364
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Rectify11Installer/Core/Installer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -883,7 +883,6 @@ private void InstallUserAvatars()
if (Directory.Exists(Path.Combine(Variables.progdata, "Microsoft", "User Account Pictures", "Default Pictures")))
{
Directory.Delete(Path.Combine(Variables.progdata, "Microsoft", "User Account Pictures", "Default Pictures"), true);

}
Directory.CreateDirectory(Path.Combine(Variables.progdata, "Microsoft", "User Account Pictures", "Default Pictures"));

Expand Down Expand Up @@ -1223,6 +1222,7 @@ private bool InstallRuntimes()
Variables.vcRedist = false;
}
else Variables.vcRedist = true;
if (vcproc.ExitCode == 0) Variables.RestartRequired = true;
}
catch
{
Expand All @@ -1247,6 +1247,7 @@ private bool InstallRuntimes()
Variables.core31 = false;
}
else Variables.core31 = true;
if (core3proc.ExitCode == 0) Variables.RestartRequired = true;
}
catch
{
Expand Down
Binary file modified Rectify11Installer/Resources/extras.7z
Binary file not shown.

0 comments on commit 520c364

Please sign in to comment.