Ejemplo n.º 1
0
 public void RunMigration4()
 {
     IniMigrator.UpdateIniFile("Configuration/Grid/Grid.ini", "AuroraConnectors",
         new[] { "EstateConnector" }, new[] { "LocalConnector" },
         new[] { MigratorAction.Add, MigratorAction.Add });
     IniMigrator.UpdateIniFile("AuroraServerConfiguration/Main.ini", "RegionPermissions",
         new[] { "DefaultRegionThreatLevel" }, new[] { "High" },
         new[] { MigratorAction.Add, MigratorAction.Add });
 }
Ejemplo n.º 2
0
        public void RunMigration3()
        {
            IniMigrator.UpdateIniFile("Configuration/Standalone/Standalone.ini", "AuroraConnectors",
                                      new[] { "DoRemoteCalls", "AllowRemoteCalls" }, new[] { "False", "False" },
                                      new[] { MigratorAction.Add, MigratorAction.Add });

            IniMigrator.UpdateIniFile("Configuration/Standalone/StandaloneIWC.ini", "AuroraConnectors",
                                      new[] { "DoRemoteCalls", "AllowRemoteCalls" }, new[] { "False", "False" },
                                      new[] { MigratorAction.Add, MigratorAction.Add });

            IniMigrator.UpdateIniFile("Configuration/Grid/Grid.ini", "AuroraConnectors",
                                      new[] { "DoRemoteCalls", "AllowRemoteCalls" }, new[] { "True", "False" },
                                      new[] { MigratorAction.Add, MigratorAction.Add });

            IniMigrator.UpdateIniFile("AuroraServerConfiguration/Main.ini", "AuroraConnectors",
                                      new[] { "DoRemoteCalls", "AllowRemoteCalls" }, new[] { "False", "True" },
                                      new[] { MigratorAction.Add, MigratorAction.Add });
        }