Skip to content

Commit

Permalink
Disable net traffic (DynamoDS#14083)
Browse files Browse the repository at this point in the history
* disable net traffic example

* Update PackageManagerViewExtension.cs

* update

* Update DynamoModel.cs

* Update PackageManagerViewExtension.cs

* Update PackageManagerViewExtension.cs

---------

Co-authored-by: pinzart <[email protected]>
  • Loading branch information
2 people authored and sm6srw committed Sep 8, 2023
1 parent aa572b4 commit df26d1e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/DynamoApplications/StartupUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ private static DynamoModel StartDynamoWithDefaultConfig(bool CLImode,
ProcessMode = CLImode ? TaskProcessMode.Synchronous : TaskProcessMode.Asynchronous,
HostAnalyticsInfo = info,
CLIMode = CLImode,
AuthProvider = CLImode ? null : new Core.IDSDKManager(),
config.AuthProvider = null,
UpdateManager = CLImode ? null : OSHelper.IsWindows() ? InitializeUpdateManager() : null,
StartInTestMode = CLImode,
PathResolver = CreatePathResolver(CLImode, preloaderLocation, userDataFolder, commonDataFolder),
Expand Down
5 changes: 4 additions & 1 deletion src/DynamoPackagesWPF/PackageManagerViewExtension.cs
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,9 @@ private void RequestLoadViewExtensionsForLoadedPackages(IEnumerable<Package> pac

private void RaisePackageHostNotifications(IEnumerable<Package> packages)
{
// ALIAS does needs a total network traffic blackout.
// Since there is no way to switch this on/off, we will just skip it for now.
/*
foreach (var pkg in packages)
{
//check that the package does not target another host, if it does raise a warning.
Expand All @@ -157,7 +160,7 @@ private void RaisePackageHostNotifications(IEnumerable<Package> packages)
Resources.TitlePackageTargetOtherHost));
}
}

*/
}

private void RequestLoadLayoutSpecs(IEnumerable<Package> packages)
Expand Down

0 comments on commit df26d1e

Please sign in to comment.