public static void Log() { _colorify.Clear(); try { Vpn.Verification(); CmdLog(_config.personal.webServer); Menu.Start(); } catch (Exception Ex) { Exceptions.General(Ex); } }
public static void Verification() { try { if ( Variables.Valid("bv") && !Vpn.CmdStatus(_config.vpn.siteName, Variables.Value("vpn")) ) { Vpn.CmdDisconnect(Variables.Value("vpn")); Vpn.CmdConnect(_config.vpn.siteName, Variables.Value("vpn")); Message.Alert(" Please connect your VPN and try again."); } } catch (Exception Ex) { Exceptions.General(Ex); } }
public static void Gradle() { _colorify.Clear(); try { Vpn.Verification(); string dirPath = _path.Combine( _config.path.development, _config.path.workspace, _config.path.project, _config.personal.selected.project, _config.project.androidPath); CmdGradle(dirPath, _config.personal.menu.buildConfiguration); Menu.Start(); } catch (Exception Ex) { Exceptions.General(Ex); } }