Skip to content

Commit

Permalink
Merge pull request #5 from rr222cy/0.2.1
Browse files Browse the repository at this point in the history
Minor
  • Loading branch information
roos-robert authored Mar 1, 2021
2 parents bd6c5d3 + dd2b237 commit 98ba1e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ValheimPlusManagerWPF/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -373,15 +373,15 @@ private void backupServerButton_Click(object sender, RoutedEventArgs e)
{
FileManager.CopyFromTo(String.Format("C:/Users/{0}/AppData/LocalLow/IronGate", Environment.UserName), String.Format("C:/ValheimServerBackups/{0}", DateTime.Now.ToString("yyyy-MM-dd-HHmm")));
statusLabel.Foreground = Brushes.Green;
statusLabel.Content = "Server data backup complete!";
statusLabel.Content = "Server data backup to C:/ValheimServerBackups complete!";
}

// Why two methods? 1. To reduce confusion, 2. In case IronGate adds a dedicated folder for server/client only
private void backupClientButton_Click(object sender, RoutedEventArgs e)
{
FileManager.CopyFromTo(String.Format("C:/Users/{0}/AppData/LocalLow/IronGate", Environment.UserName), String.Format("C:/ValheimGameBackups/{0}", DateTime.Now.ToString("yyyy-MM-dd-HHmm")));
statusLabel.Foreground = Brushes.Green;
statusLabel.Content = "Game data backup complete!";
statusLabel.Content = "Game data backup to C:/ValheimGameBackups complete!";
}
}
}

0 comments on commit 98ba1e9

Please sign in to comment.