Example #1
0
        public static void CheckHomePath()
        {
            GitCommandHelpers.SetEnvironmentVariable();

            if (IsFixHome())
            {
                if (MessageBox.Show(string.Format(_gitGlobalConfigNotFound.Text, Environment.GetEnvironmentVariable("HOME")),
                                    _gitGlobalConfigNotFoundCaption.Text, MessageBoxButtons.YesNo) == DialogResult.Yes)
                {
                    using (var frm = new FormFixHome()) frm.ShowDialog();
                }
            }
        }
Example #2
0
 private void ChangeHomeButton_Click(object sender, EventArgs e)
 {
     Save();
     using (var frm = new FormFixHome()) frm.ShowDialog(this);
     LoadSettings();
     Rescan_Click(null, null);
 }