Skip to content

Commit

Permalink
Don't restart windowed if --require was specified (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
edocevoli committed Feb 20, 2018
1 parent 667fa63 commit 79e9cf1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Programs/MiKTeX/PackageManager/mpm/mpm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1811,6 +1811,11 @@ void Application::Main(int argc, const char** argv)
restartWindowed = false;
}

if (!required.empty())
{
restartWindowed = false;
}

for (const string& package : required)
{
if (!packageManager->GetPackageInfo(package).IsInstalled())
Expand Down

0 comments on commit 79e9cf1

Please sign in to comment.