示例#1
0
        private void ApplyNewCfg(List <string> cfgLines)
        {
            Logger.Debug($"New CFG with {cfgLines.Count} lines");

            Logger.Debug("Updating tool CFG");
            GameUtility.WriteCfg(_config.ToolCfg, cfgLines);

            Thread.Sleep(1000);

            Logger.Debug("Triggering keyboard keypress");
            WindowsUtility.SendKeyDownExec();
        }