diff --git a/core/src/main/resources/changelog.yaml b/core/src/main/resources/changelog.yaml index a00c9b460..f7de4aa4c 100644 --- a/core/src/main/resources/changelog.yaml +++ b/core/src/main/resources/changelog.yaml @@ -1,6 +1,8 @@ #@formatter:off - version: "v6.2.1" changes: + - type: "fix" + text: "Unfortunately the automatic update is broken with the new wrappers introduced in 6.0.0. And I tested it so thoroughly (I thought). NZBHydra would shut down for an update but not actually update, with automatic updates resulting in a loop :-(" - type: "fix" text: "Days without a buggy release: 0. Fix invalid link returned from DETAILS function. See #943" - type: "fix" diff --git a/other/gowrapper/base/base.go b/other/gowrapper/base/base.go index d3a062d4c..9c29bb24b 100644 --- a/other/gowrapper/base/base.go +++ b/other/gowrapper/base/base.go @@ -185,7 +185,8 @@ func doUpdate() { LogFatalIfError(err) for _, f := range r.File { - if strings.ToLower(f.Name) != "nzbhydra2" && !strings.HasSuffix(strings.ToLower(f.Name), ".exe") && strings.ToLower(f.Name) != "core.exe" { + //Do not update the wrapper executables + if !strings.HasSuffix(strings.ToLower(f.Name), ".exe") || strings.ToLower(f.Name) == "core.exe" { if f.FileInfo().IsDir() { continue } diff --git a/other/gowrapper/base/logger.go b/other/gowrapper/base/logger.go index 0b4354fe7..5c201a3bf 100644 --- a/other/gowrapper/base/logger.go +++ b/other/gowrapper/base/logger.go @@ -65,5 +65,7 @@ func setupLogger() { } fileLogger.ExitFunc = Exit consoleLogger.ExitFunc = Exit + fileLogger.Level = logrus.DebugLevel + consoleLogger.Level = logrus.InfoLevel } diff --git a/releases/windows-release/include/NZBHydra2 Console.exe b/releases/windows-release/include/NZBHydra2 Console.exe index d701e04de..99fec2abd 100644 --- a/releases/windows-release/include/NZBHydra2 Console.exe +++ b/releases/windows-release/include/NZBHydra2 Console.exe @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f7afbe1d1dd4ee5a2985817e7d7519a5215ac4a80c3de69818a1e213ab07ff67 +oid sha256:ef81f6e149979c8dadcc8e6567b85ddbf9f60a3de83e518d7550bfe175283302 size 3458560 diff --git a/releases/windows-release/include/NZBHydra2.exe b/releases/windows-release/include/NZBHydra2.exe index fe382fcf2..fee00236d 100644 --- a/releases/windows-release/include/NZBHydra2.exe +++ b/releases/windows-release/include/NZBHydra2.exe @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:80a87ee7f8ad9b7497b232d578c7725a845993efe2ff30aada34b94fec69599b -size 5476864 +oid sha256:9acca4e8087849ac909cc77b76d3c89da2084d3ae5a876bc7476ad5316d9b189 +size 5476352