diff options
author | TopperDEL <github_com@tparth.de> | 2020-06-20 15:20:36 +0300 |
---|---|---|
committer | TopperDEL <github_com@tparth.de> | 2020-06-20 15:20:36 +0300 |
commit | d14ab54fd6fbba81c93fa45d780f8778f928af97 (patch) | |
tree | a75892011956d596f16b461d84659ed7235e3849 /Duplicati/Library/Backend/Tardigrade | |
parent | 31ae3784c0af26e2296c7aa7ea464acc04c6a62a (diff) |
fix: Resolve merge conflict
Diffstat (limited to 'Duplicati/Library/Backend/Tardigrade')
-rw-r--r-- | Duplicati/Library/Backend/Tardigrade/TardigradeBackend.cs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Duplicati/Library/Backend/Tardigrade/TardigradeBackend.cs b/Duplicati/Library/Backend/Tardigrade/TardigradeBackend.cs index 407d8c1b9..4e33fe585 100644 --- a/Duplicati/Library/Backend/Tardigrade/TardigradeBackend.cs +++ b/Duplicati/Library/Backend/Tardigrade/TardigradeBackend.cs @@ -65,6 +65,11 @@ namespace Duplicati.Library.Backend.Tardigrade _libraryLoaded = true; } + static Tardigrade() + { + Access.SetTempDirectory(Library.Utility.TempFolder.SystemTempPath); + } + // ReSharper disable once UnusedMember.Global // This constructor is needed by the BackendLoader. public Tardigrade() @@ -79,9 +84,6 @@ namespace Duplicati.Library.Backend.Tardigrade InitStorjLibrary(); //We need to init only on Windows to distinguish between x64 and x86 var auth_method = options[TARDIGRADE_AUTH_METHOD]; - - Access.SetTempDirectory(System.IO.Path.GetTempPath()); - if (auth_method == "Access grant") { //Create an access from the access grant |