private void invokeUpdate()
        {
            Directory.CreateDirectory("temp");
            ConfigXML.writeLocal <UpdateXML>(update, "temp\\update.xml");
            foreach (string newPath in Directory.GetFiles("libs", "*.*"))
            {
                File.Copy(newPath, newPath.Replace("libs", "temp"), true);
            }

            Restarter.restart("update");
        }
Example #2
0
 private void bw_extractUpdate_RunWorkerCompleted(object sender, System.ComponentModel.RunWorkerCompletedEventArgs e)
 {
     Restarter.restart("cleanup");
 }
Example #3
0
 void ReceiveRestartGame()
 {
     restarter.restart();
 }