Skip to content

Commit

Permalink
Check for updates before starting the app
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaMilosavljevic committed Oct 9, 2020
1 parent 7e8a91d commit 309ac6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/clickonce/MageCLI/Mage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ public static DeployManifest GenerateDeploymentManifest(string deploymentManifes
{
manifest.Install = true;
manifest.UpdateEnabled = true;
manifest.UpdateMode = UpdateMode.Background;
manifest.UpdateMode = UpdateMode.Foreground;
}
else
{
Expand Down Expand Up @@ -331,7 +331,7 @@ public static void UpdateDeploymentManifest(DeployManifest manifest, string depl
{
manifest.Install = true;
manifest.UpdateEnabled = true;
manifest.UpdateMode = UpdateMode.Background;
manifest.UpdateMode = UpdateMode.Foreground;

// We need to activate the set method on these fields since the XML
// representation might not be in sync with the propery value.
Expand Down

0 comments on commit 309ac6b

Please sign in to comment.