Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/duplicati/duplicati.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTopperDEL <github_com@tparth.de>2020-06-20 15:20:36 +0300
committerTopperDEL <github_com@tparth.de>2020-06-20 15:20:36 +0300
commitd14ab54fd6fbba81c93fa45d780f8778f928af97 (patch)
treea75892011956d596f16b461d84659ed7235e3849 /Duplicati/Library/Backend/Tardigrade
parent31ae3784c0af26e2296c7aa7ea464acc04c6a62a (diff)
fix: Resolve merge conflict
Diffstat (limited to 'Duplicati/Library/Backend/Tardigrade')
-rw-r--r--Duplicati/Library/Backend/Tardigrade/TardigradeBackend.cs8
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