Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ad729133a6 |
@@ -124,6 +124,11 @@ public static class Program {
|
||||
|
||||
try {
|
||||
projectFile.Backup();
|
||||
Console.CancelKeyPress += (sender, eventArgs) => {
|
||||
projectFile.Restore();
|
||||
AnsiConsole.MarkupLine("[yellow]Restored project file from backup.[/]");
|
||||
};
|
||||
|
||||
if (Verbose)
|
||||
AnsiConsole.WriteLine(
|
||||
$"Created project file backup at {projectFile.GetDefaultBackupLocation()}");
|
||||
|
||||
Reference in New Issue
Block a user