From d1968d2981304487053e1442288aa36a1db8e177 Mon Sep 17 00:00:00 2001 From: Casper Sparre Date: Fri, 16 Jan 2026 18:33:44 +0100 Subject: [PATCH] Never delete auth.json --- OF DL/Program.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/OF DL/Program.cs b/OF DL/Program.cs index 91b22a0..671facb 100644 --- a/OF DL/Program.cs +++ b/OF DL/Program.cs @@ -673,8 +673,8 @@ public class Program Log.Information("Auth file found but could not be deserialized"); if (!config!.DisableBrowserAuth) { - Log.Debug("Deleting auth.json"); - File.Delete("auth.json"); + //Log.Debug("Deleting auth.json"); + //File.Delete("auth.json"); } if (cliNonInteractive) @@ -945,10 +945,10 @@ public class Program auth = null; if (!config!.DisableBrowserAuth) { - if (File.Exists("auth.json")) - { - File.Delete("auth.json"); - } + //if (File.Exists("auth.json")) + //{ + // File.Delete("auth.json"); + //} } if (!cliNonInteractive && !config!.DisableBrowserAuth)