Skip to content

Commit 896063d

Browse files
committed
Change default backup option to true
Updated the backup option logic to default to true if not set, ensuring backups are performed unless explicitly disabled.
1 parent a83dba8 commit 896063d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/c#/GeneralUpdate.ClientCore/GeneralClientBootstrap.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ private async Task ExecuteWorkflowAsync()
214214
JsonSerializer.Serialize(processInfo, ProcessInfoJsonContext.Default.ProcessInfo);
215215
}
216216

217-
if (GetOption(UpdateOption.BackUp) ?? false)
217+
if (GetOption(UpdateOption.BackUp) ?? true)
218218
{
219219
StorageManager.Backup(_configInfo.InstallPath
220220
, _configInfo.BackupDirectory

0 commit comments

Comments
 (0)