Example #1
0
        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();
        }
Example #2
0
 protected override void Run()
 {
     RPC_Config.Current.ShowFileIcon = !RPC_Config.Current.ShowFileIcon;
     RPCController.UpdatePresence();
     RPC_Config.Save();
 }
Example #3
0
 protected override void Run()
 {
     RPC_Config.Current.ResetTimeOnFileChange = !RPC_Config.Current.ResetTimeOnFileChange;
     RPCController.UpdatePresence();
     RPC_Config.Save();
 }
Example #4
0
 protected override void Run()
 {
     RPC_Config.Current.ShowSolutionName = !RPC_Config.Current.ShowSolutionName;
     RPCController.UpdatePresence();
     RPC_Config.Save();
 }