protected override void Run() { RPC_Config.Load(); if (RPC_Config.Current.Enabled) { Task.Run(() => RPCController.StartRPC()); } }
protected override void Run() { RPC_Config.Current.Enabled = !RPC_Config.Current.Enabled; RPC_Config.Save(); if (RPC_Config.Current.Enabled) { Task.Run(() => RPCController.StartRPC()); } else { RPCController.StopRPC(); } RPCController.UpdatePresence(); }
protected override void Run() { RPC_Config.Current.ShowFileIcon = !RPC_Config.Current.ShowFileIcon; RPCController.UpdatePresence(); RPC_Config.Save(); }
protected override void Run() { RPC_Config.Current.ResetTimeOnFileChange = !RPC_Config.Current.ResetTimeOnFileChange; RPCController.UpdatePresence(); RPC_Config.Save(); }
protected override void Run() { RPC_Config.Current.ShowSolutionName = !RPC_Config.Current.ShowSolutionName; RPCController.UpdatePresence(); RPC_Config.Save(); }