Skip to content

Commit d5b0340

Browse files
GitHubSync update
1 parent 500cc80 commit d5b0340

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

deployment/cake/installers-velopack.cake

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ public class VelopackInstaller : IInstaller
1313
if (IsEnabled)
1414
{
1515
IsAvailable = IsEnabled;
16+
17+
// Protection
18+
if (BuildContext.BuildServer.GetVariableAsBool("SquirrelEnabled", true, showValue: true))
19+
{
20+
throw new Exception("Both Velopack and Squirrel are enabled, make sure to disable Squirrel when migrating to Velopack");
21+
}
1622
}
1723
}
1824

0 commit comments

Comments
 (0)