Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions deployment/cake/installers-velopack.cake
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ public class VelopackInstaller : IInstaller
if (IsEnabled)
{
IsAvailable = IsEnabled;

// Protection
if (BuildContext.BuildServer.GetVariableAsBool("SquirrelEnabled", true, showValue: true))
{
throw new Exception("Both Velopack and Squirrel are enabled, make sure to disable Squirrel when migrating to Velopack");
}
}
}

Expand Down
Loading