From 66758ca00605990b762587b345a291bfb17d651c Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Sun, 14 Jul 2024 14:46:59 -0700 Subject: [PATCH] New: Show update settings on all platforms (cherry picked from commit c023fc700896c7f0751c4ac63c4e1a89d6e1a9bb) --- .../src/Settings/General/UpdateSettings.js | 100 +++++++++--------- .../HealthCheck/Checks/UpdateCheckFixture.cs | 31 ++---- .../Configuration/ConfigFileProvider.cs | 2 +- .../HealthCheck/Checks/UpdateCheck.cs | 2 +- src/NzbDrone.Core/Localization/Core/ar.json | 4 +- src/NzbDrone.Core/Localization/Core/bg.json | 4 +- src/NzbDrone.Core/Localization/Core/ca.json | 4 +- src/NzbDrone.Core/Localization/Core/cs.json | 4 +- src/NzbDrone.Core/Localization/Core/da.json | 4 +- src/NzbDrone.Core/Localization/Core/de.json | 4 +- src/NzbDrone.Core/Localization/Core/el.json | 4 +- src/NzbDrone.Core/Localization/Core/en.json | 6 +- src/NzbDrone.Core/Localization/Core/es.json | 4 +- src/NzbDrone.Core/Localization/Core/fi.json | 4 +- src/NzbDrone.Core/Localization/Core/fr.json | 4 +- src/NzbDrone.Core/Localization/Core/he.json | 4 +- src/NzbDrone.Core/Localization/Core/hi.json | 4 +- src/NzbDrone.Core/Localization/Core/hr.json | 4 +- src/NzbDrone.Core/Localization/Core/hu.json | 4 +- src/NzbDrone.Core/Localization/Core/is.json | 4 +- src/NzbDrone.Core/Localization/Core/it.json | 4 +- src/NzbDrone.Core/Localization/Core/ja.json | 4 +- src/NzbDrone.Core/Localization/Core/ko.json | 4 +- .../Localization/Core/nb_NO.json | 4 +- src/NzbDrone.Core/Localization/Core/nl.json | 4 +- src/NzbDrone.Core/Localization/Core/pl.json | 4 +- src/NzbDrone.Core/Localization/Core/pt.json | 4 +- .../Localization/Core/pt_BR.json | 4 +- src/NzbDrone.Core/Localization/Core/ro.json | 4 +- src/NzbDrone.Core/Localization/Core/ru.json | 4 +- src/NzbDrone.Core/Localization/Core/sk.json | 4 +- src/NzbDrone.Core/Localization/Core/sv.json | 4 +- src/NzbDrone.Core/Localization/Core/th.json | 4 +- src/NzbDrone.Core/Localization/Core/tr.json | 4 +- src/NzbDrone.Core/Localization/Core/uk.json | 4 +- src/NzbDrone.Core/Localization/Core/vi.json | 4 +- .../Localization/Core/zh_CN.json | 4 +- .../Localization/Core/zh_TW.json | 2 +- .../Update/InstallUpdateService.cs | 4 +- 39 files changed, 127 insertions(+), 148 deletions(-) diff --git a/frontend/src/Settings/General/UpdateSettings.js b/frontend/src/Settings/General/UpdateSettings.js index 16b32d160..caf367e54 100644 --- a/frontend/src/Settings/General/UpdateSettings.js +++ b/frontend/src/Settings/General/UpdateSettings.js @@ -18,7 +18,6 @@ function UpdateSettings(props) { const { advancedSettings, settings, - isWindows, packageUpdateMechanism, onInputChange } = props; @@ -44,10 +43,10 @@ function UpdateSettings(props) { value: titleCase(packageUpdateMechanism) }); } else { - updateOptions.push({ key: 'builtIn', value: 'Built-In' }); + updateOptions.push({ key: 'builtIn', value: translate('BuiltIn') }); } - updateOptions.push({ key: 'script', value: 'Script' }); + updateOptions.push({ key: 'script', value: translate('Script') }); return (
@@ -60,8 +59,8 @@ function UpdateSettings(props) { - { - !isWindows && -
+
+ + {translate('Automatic')} + + + + + + {translate('Mechanism')} + + + + + { + updateMechanism.value === 'script' && - {translate('Automatic')} + {translate('ScriptPath')} - - - {translate('Mechanism')} - - - - - { - updateMechanism.value === 'script' && - - {translate('ScriptPath')} - - - - } -
- } + } +
); } diff --git a/src/NzbDrone.Core.Test/HealthCheck/Checks/UpdateCheckFixture.cs b/src/NzbDrone.Core.Test/HealthCheck/Checks/UpdateCheckFixture.cs index 64eeb9169..7d859eb9d 100644 --- a/src/NzbDrone.Core.Test/HealthCheck/Checks/UpdateCheckFixture.cs +++ b/src/NzbDrone.Core.Test/HealthCheck/Checks/UpdateCheckFixture.cs @@ -7,6 +7,7 @@ using NzbDrone.Core.HealthCheck.Checks; using NzbDrone.Core.Localization; using NzbDrone.Core.Test.Framework; using NzbDrone.Core.Update; +using NzbDrone.Test.Common; namespace NzbDrone.Core.Test.HealthCheck.Checks { @@ -21,28 +22,10 @@ namespace NzbDrone.Core.Test.HealthCheck.Checks .Returns("Some Warning Message"); } - [Test] - public void should_return_error_when_app_folder_is_write_protected() - { - WindowsOnly(); - - Mocker.GetMock() - .Setup(s => s.StartUpFolder) - .Returns(@"C:\NzbDrone"); - - Mocker.GetMock() - .Setup(c => c.FolderWritable(It.IsAny())) - .Returns(false); - - Subject.Check().ShouldBeError(); - } - [Test] public void should_return_error_when_app_folder_is_write_protected_and_update_automatically_is_enabled() { - PosixOnly(); - - const string startupFolder = @"/opt/nzbdrone"; + var startupFolder = @"C:\NzbDrone".AsOsAgnostic(); Mocker.GetMock() .Setup(s => s.UpdateAutomatically) @@ -62,10 +45,8 @@ namespace NzbDrone.Core.Test.HealthCheck.Checks [Test] public void should_return_error_when_ui_folder_is_write_protected_and_update_automatically_is_enabled() { - PosixOnly(); - - const string startupFolder = @"/opt/nzbdrone"; - const string uiFolder = @"/opt/nzbdrone/UI"; + var startupFolder = @"C:\NzbDrone".AsOsAgnostic(); + var uiFolder = @"C:\NzbDrone\UI".AsOsAgnostic(); Mocker.GetMock() .Setup(s => s.UpdateAutomatically) @@ -89,7 +70,7 @@ namespace NzbDrone.Core.Test.HealthCheck.Checks [Test] public void should_not_return_error_when_app_folder_is_write_protected_and_external_script_enabled() { - PosixOnly(); + var startupFolder = @"C:\NzbDrone".AsOsAgnostic(); Mocker.GetMock() .Setup(s => s.UpdateAutomatically) @@ -101,7 +82,7 @@ namespace NzbDrone.Core.Test.HealthCheck.Checks Mocker.GetMock() .Setup(s => s.StartUpFolder) - .Returns(@"/opt/nzbdrone"); + .Returns(startupFolder); Mocker.GetMock() .Verify(c => c.FolderWritable(It.IsAny()), Times.Never()); diff --git a/src/NzbDrone.Core/Configuration/ConfigFileProvider.cs b/src/NzbDrone.Core/Configuration/ConfigFileProvider.cs index a8e33524f..c0426a3a0 100644 --- a/src/NzbDrone.Core/Configuration/ConfigFileProvider.cs +++ b/src/NzbDrone.Core/Configuration/ConfigFileProvider.cs @@ -255,7 +255,7 @@ namespace NzbDrone.Core.Configuration public string UiFolder => BuildInfo.IsDebug ? Path.Combine("..", "UI") : "UI"; public string InstanceName => _appOptions.InstanceName ?? GetValue("InstanceName", BuildInfo.AppName); - public bool UpdateAutomatically => _updateOptions.Automatically ?? GetValueBoolean("UpdateAutomatically", false, false); + public bool UpdateAutomatically => _updateOptions.Automatically ?? GetValueBoolean("UpdateAutomatically", OsInfo.IsWindows, false); public UpdateMechanism UpdateMechanism => Enum.TryParse(_updateOptions.Mechanism, out var enumValue) diff --git a/src/NzbDrone.Core/HealthCheck/Checks/UpdateCheck.cs b/src/NzbDrone.Core/HealthCheck/Checks/UpdateCheck.cs index f92e29b80..bf77de8d7 100644 --- a/src/NzbDrone.Core/HealthCheck/Checks/UpdateCheck.cs +++ b/src/NzbDrone.Core/HealthCheck/Checks/UpdateCheck.cs @@ -39,7 +39,7 @@ namespace NzbDrone.Core.HealthCheck.Checks var startupFolder = _appFolderInfo.StartUpFolder; var uiFolder = Path.Combine(startupFolder, "UI"); - if ((OsInfo.IsWindows || _configFileProvider.UpdateAutomatically) && + if (_configFileProvider.UpdateAutomatically && _configFileProvider.UpdateMechanism == UpdateMechanism.BuiltIn && !_osInfo.IsDocker) { diff --git a/src/NzbDrone.Core/Localization/Core/ar.json b/src/NzbDrone.Core/Localization/Core/ar.json index 25a308281..fbfeced5d 100644 --- a/src/NzbDrone.Core/Localization/Core/ar.json +++ b/src/NzbDrone.Core/Localization/Core/ar.json @@ -3,8 +3,8 @@ "Year": "عام", "WeekColumnHeader": "رأس عمود الأسبوع", "Version": "الإصدار", - "UsingExternalUpdateMechanismBranchUsedByExternalUpdateMechanism": "يستخدم الفرع بواسطة آلية التحديث الخارجية", - "UsingExternalUpdateMechanismBranchToUseToUpdateReadarr": "فرع لاستخدامه لتحديث Radarr", + "BranchUpdateMechanism": "يستخدم الفرع بواسطة آلية التحديث الخارجية", + "BranchUpdate": "فرع لاستخدامه لتحديث Radarr", "Username": "اسم المستخدم", "UsenetDelayHelpText": "تأخر بالدقائق للانتظار قبل الحصول على إصدار من Usenet", "UsenetDelay": "تأخير يوزنت", diff --git a/src/NzbDrone.Core/Localization/Core/bg.json b/src/NzbDrone.Core/Localization/Core/bg.json index 7bf4ae3e9..57c28ee4a 100644 --- a/src/NzbDrone.Core/Localization/Core/bg.json +++ b/src/NzbDrone.Core/Localization/Core/bg.json @@ -422,8 +422,8 @@ "UsenetDelay": "Usenet Delay", "UsenetDelayHelpText": "Забавете за минути, за да изчакате, преди да вземете съобщение от Usenet", "Username": "Потребителско име", - "UsingExternalUpdateMechanismBranchToUseToUpdateReadarr": "Клон, който да се използва за актуализиране на Radarr", - "UsingExternalUpdateMechanismBranchUsedByExternalUpdateMechanism": "Клон, използван от външен механизъм за актуализация", + "BranchUpdate": "Клон, който да се използва за актуализиране на Radarr", + "BranchUpdateMechanism": "Клон, използван от външен механизъм за актуализация", "Version": "Версия", "WeekColumnHeader": "Заглавка на колоната на седмицата", "Year": "Година", diff --git a/src/NzbDrone.Core/Localization/Core/ca.json b/src/NzbDrone.Core/Localization/Core/ca.json index dbff1005d..da8f7eaa1 100644 --- a/src/NzbDrone.Core/Localization/Core/ca.json +++ b/src/NzbDrone.Core/Localization/Core/ca.json @@ -487,9 +487,9 @@ "SuccessMyWorkIsDoneNoFilesToRetag": "Èxit! La feina està acabada, no hi ha fitxers per canviar el nom.", "TimeLeft": "Temps restant", "UnableToLoadImportListExclusions": "No es poden carregar les exclusions de la llista", - "UsingExternalUpdateMechanismBranchToUseToUpdateReadarr": "Branca que s'utilitza per actualitzar Radarr", + "BranchUpdate": "Branca que s'utilitza per actualitzar Radarr", "UserAgentProvidedByTheAppThatCalledTheAPI": "Agent d'usuari proporcionat per l'aplicació per fer peticions a l'API", - "UsingExternalUpdateMechanismBranchUsedByExternalUpdateMechanism": "Branca utilitzada pel mecanisme d'actualització extern", + "BranchUpdateMechanism": "Branca utilitzada pel mecanisme d'actualització extern", "WriteTagsNo": "Mai", "RestartReloadNote": "Nota: Radarr es reiniciarà i tornarà a carregar automàticament la interfície d'usuari durant el procés de restauració.", "Series": "Sèries", diff --git a/src/NzbDrone.Core/Localization/Core/cs.json b/src/NzbDrone.Core/Localization/Core/cs.json index 33da758dd..d874c8be5 100644 --- a/src/NzbDrone.Core/Localization/Core/cs.json +++ b/src/NzbDrone.Core/Localization/Core/cs.json @@ -429,8 +429,8 @@ "UsenetDelay": "Usenet Zpoždění", "UsenetDelayHelpText": "Zpoždění v minutách čekání před uvolněním z Usenetu", "Username": "Uživatelské jméno", - "UsingExternalUpdateMechanismBranchToUseToUpdateReadarr": "Pobočka, která se má použít k aktualizaci Radarr", - "UsingExternalUpdateMechanismBranchUsedByExternalUpdateMechanism": "Pobočka používaná mechanismem externí aktualizace", + "BranchUpdate": "Pobočka, která se má použít k aktualizaci Radarr", + "BranchUpdateMechanism": "Pobočka používaná mechanismem externí aktualizace", "Version": "Verze", "WeekColumnHeader": "Záhlaví sloupce týdne", "Year": "Rok", diff --git a/src/NzbDrone.Core/Localization/Core/da.json b/src/NzbDrone.Core/Localization/Core/da.json index 976a69278..504e99f74 100644 --- a/src/NzbDrone.Core/Localization/Core/da.json +++ b/src/NzbDrone.Core/Localization/Core/da.json @@ -424,8 +424,8 @@ "UsenetDelay": "Usenet-forsinkelse", "UsenetDelayHelpText": "Forsink i minutter, før du tager fat i en frigivelse fra Usenet", "Username": "Brugernavn", - "UsingExternalUpdateMechanismBranchToUseToUpdateReadarr": "Filial, der skal bruges til at opdatere Radarr", - "UsingExternalUpdateMechanismBranchUsedByExternalUpdateMechanism": "Gren brugt af ekstern opdateringsmekanisme", + "BranchUpdate": "Filial, der skal bruges til at opdatere Radarr", + "BranchUpdateMechanism": "Gren brugt af ekstern opdateringsmekanisme", "Version": "Version", "WeekColumnHeader": "Ugens kolonneoverskrift", "Year": "År", diff --git a/src/NzbDrone.Core/Localization/Core/de.json b/src/NzbDrone.Core/Localization/Core/de.json index b8189bad3..4ef97a346 100644 --- a/src/NzbDrone.Core/Localization/Core/de.json +++ b/src/NzbDrone.Core/Localization/Core/de.json @@ -415,8 +415,8 @@ "UsenetDelay": "Usenet-Verzögerung", "UsenetDelayHelpText": "Verzögerung in Minuten, bevor Sie eine Veröffentlichung aus dem Usenet erhalten", "Username": "Nutzername", - "UsingExternalUpdateMechanismBranchToUseToUpdateReadarr": "Branch zum updaten von Radarr", - "UsingExternalUpdateMechanismBranchUsedByExternalUpdateMechanism": "Branch für den externen Updateablauf", + "BranchUpdate": "Branch zum updaten von Radarr", + "BranchUpdateMechanism": "Branch für den externen Updateablauf", "Version": "Version", "WeekColumnHeader": "Spaltenüberschrift „Woche“.", "Year": "Jahr", diff --git a/src/NzbDrone.Core/Localization/Core/el.json b/src/NzbDrone.Core/Localization/Core/el.json index c42eac861..9b38a7f6e 100644 --- a/src/NzbDrone.Core/Localization/Core/el.json +++ b/src/NzbDrone.Core/Localization/Core/el.json @@ -424,8 +424,8 @@ "UsenetDelay": "Καθυστέρηση Usenet", "UsenetDelayHelpText": "Καθυστέρηση σε λίγα λεπτά για να περιμένετε πριν πάρετε μια κυκλοφορία από το Usenet", "Username": "Όνομα χρήστη", - "UsingExternalUpdateMechanismBranchToUseToUpdateReadarr": "Υποκατάστημα για χρήση για την ενημέρωση του Radarr", - "UsingExternalUpdateMechanismBranchUsedByExternalUpdateMechanism": "Υποκατάστημα που χρησιμοποιείται από εξωτερικό μηχανισμό ενημέρωσης", + "BranchUpdate": "Υποκατάστημα για χρήση για την ενημέρωση του Radarr", + "BranchUpdateMechanism": "Υποκατάστημα που χρησιμοποιείται από εξωτερικό μηχανισμό ενημέρωσης", "Version": "Εκδοχή", "WeekColumnHeader": "Κεφαλίδα στήλης εβδομάδας", "Year": "Ετος", diff --git a/src/NzbDrone.Core/Localization/Core/en.json b/src/NzbDrone.Core/Localization/Core/en.json index 25de09dc2..fd45fbf8e 100644 --- a/src/NzbDrone.Core/Localization/Core/en.json +++ b/src/NzbDrone.Core/Localization/Core/en.json @@ -117,6 +117,9 @@ "BooksTotal": "Books ({0})", "Bookshelf": "Bookshelf", "Branch": "Branch", + "BranchUpdate": "Branch to use to update {appName}", + "BranchUpdateMechanism": "Branch used by external update mechanism", + "BuiltIn": "Built-In", "BypassIfAboveCustomFormatScore": "Bypass if Above Custom Format Score", "BypassIfAboveCustomFormatScoreHelpText": "Enable bypass when release has a score higher than the configured minimum custom format score", "BypassIfHighestQuality": "Bypass if Highest Quality", @@ -871,6 +874,7 @@ "SSLPort": "SSL Port", "Save": "Save", "Scheduled": "Scheduled", + "Script": "Script", "ScriptPath": "Script Path", "Search": "Search", "SearchAll": "Search All", @@ -1093,8 +1097,6 @@ "UserAgentProvidedByTheAppThatCalledTheAPI": "User-Agent provided by the app that called the API", "Username": "Username", "UsernameHelpText": "Calibre content server username", - "UsingExternalUpdateMechanismBranchToUseToUpdateReadarr": "Branch to use to update Readarr", - "UsingExternalUpdateMechanismBranchUsedByExternalUpdateMechanism": "Branch used by external update mechanism", "Version": "Version", "Wanted": "Wanted", "WatchLibraryForChangesHelpText": "Rescan automatically when files change in a root folder", diff --git a/src/NzbDrone.Core/Localization/Core/es.json b/src/NzbDrone.Core/Localization/Core/es.json index cfe34f136..1d08e2ccd 100644 --- a/src/NzbDrone.Core/Localization/Core/es.json +++ b/src/NzbDrone.Core/Localization/Core/es.json @@ -423,8 +423,8 @@ "UsenetDelay": "Retraso de usenet", "UsenetDelayHelpText": "Retraso en minutos a esperar antes de capturar un lanzamiento desde usenet", "Username": "Usuario", - "UsingExternalUpdateMechanismBranchToUseToUpdateReadarr": "Rama a utilizar para actualizar Readarr", - "UsingExternalUpdateMechanismBranchUsedByExternalUpdateMechanism": "Rama usada por el mecanismo de actualización externo", + "BranchUpdate": "Rama a utilizar para actualizar Readarr", + "BranchUpdateMechanism": "Rama usada por el mecanismo de actualización externo", "Version": "Versión", "WeekColumnHeader": "Cabecera de columna de semana", "Year": "Año", diff --git a/src/NzbDrone.Core/Localization/Core/fi.json b/src/NzbDrone.Core/Localization/Core/fi.json index 4898fb5d2..9f8ecba47 100644 --- a/src/NzbDrone.Core/Localization/Core/fi.json +++ b/src/NzbDrone.Core/Localization/Core/fi.json @@ -424,8 +424,8 @@ "UsenetDelay": "Usenet-viive", "UsenetDelayHelpText": "Minuuttiviive, joka odotetaan ennen julkaisun Usenet-kaappausta.", "Username": "Käyttäjätunnus", - "UsingExternalUpdateMechanismBranchToUseToUpdateReadarr": "Sovelluksen versiopäivityksiin käytettävä kehityshaara.", - "UsingExternalUpdateMechanismBranchUsedByExternalUpdateMechanism": "Ulkoisen päivitysratkaisun käyttämä kehityshaara.", + "BranchUpdate": "Sovelluksen versiopäivityksiin käytettävä kehityshaara.", + "BranchUpdateMechanism": "Ulkoisen päivitysratkaisun käyttämä kehityshaara.", "Version": "Versio", "WeekColumnHeader": "Viikkosarakkeen otsikko", "Year": "Vuosi", diff --git a/src/NzbDrone.Core/Localization/Core/fr.json b/src/NzbDrone.Core/Localization/Core/fr.json index 3a8c048d3..444c0602c 100644 --- a/src/NzbDrone.Core/Localization/Core/fr.json +++ b/src/NzbDrone.Core/Localization/Core/fr.json @@ -429,8 +429,8 @@ "UsenetDelay": "Retard Usenet", "UsenetDelayHelpText": "Délai en minutes avant de récupérer une release de Usenet", "Username": "Nom d'utilisateur", - "UsingExternalUpdateMechanismBranchToUseToUpdateReadarr": "Branche à utiliser pour mettre à jour Readarr", - "UsingExternalUpdateMechanismBranchUsedByExternalUpdateMechanism": "Branche utilisée par le mécanisme de mise à jour extérieur", + "BranchUpdate": "Branche à utiliser pour mettre à jour Readarr", + "BranchUpdateMechanism": "Branche utilisée par le mécanisme de mise à jour extérieur", "Version": "Version", "WeekColumnHeader": "En-tête de colonne de la semaine", "Year": "Année", diff --git a/src/NzbDrone.Core/Localization/Core/he.json b/src/NzbDrone.Core/Localization/Core/he.json index e6686bd28..3609fc6f3 100644 --- a/src/NzbDrone.Core/Localization/Core/he.json +++ b/src/NzbDrone.Core/Localization/Core/he.json @@ -411,8 +411,8 @@ "UsenetDelay": "עיכוב Usenet", "UsenetDelayHelpText": "עיכוב תוך דקות להמתין לפני שתופס שחרור מאוסנט", "Username": "שם משתמש", - "UsingExternalUpdateMechanismBranchToUseToUpdateReadarr": "ענף לשימוש עדכון Radarr", - "UsingExternalUpdateMechanismBranchUsedByExternalUpdateMechanism": "ענף המשמש את מנגנון העדכון החיצוני", + "BranchUpdate": "ענף לשימוש עדכון Radarr", + "BranchUpdateMechanism": "ענף המשמש את מנגנון העדכון החיצוני", "Version": "גִרְסָה", "WeekColumnHeader": "כותרת עמודות שבוע", "Year": "שָׁנָה", diff --git a/src/NzbDrone.Core/Localization/Core/hi.json b/src/NzbDrone.Core/Localization/Core/hi.json index 49f54bb34..e53251910 100644 --- a/src/NzbDrone.Core/Localization/Core/hi.json +++ b/src/NzbDrone.Core/Localization/Core/hi.json @@ -417,8 +417,8 @@ "UsenetDelay": "यूज़नेट देरी", "UsenetDelayHelpText": "यूज़नेट से एक रिलीज हथियाने से पहले इंतजार करने के लिए मिनटों में देरी", "Username": "उपयोगकर्ता नाम", - "UsingExternalUpdateMechanismBranchToUseToUpdateReadarr": "रेडर को अपडेट करने के लिए उपयोग करने के लिए शाखा", - "UsingExternalUpdateMechanismBranchUsedByExternalUpdateMechanism": "बाहरी अद्यतन तंत्र द्वारा उपयोग की जाने वाली शाखा", + "BranchUpdate": "रेडर को अपडेट करने के लिए उपयोग करने के लिए शाखा", + "BranchUpdateMechanism": "बाहरी अद्यतन तंत्र द्वारा उपयोग की जाने वाली शाखा", "Version": "संस्करण", "WeekColumnHeader": "वीक कॉलम हैडर", "Year": "साल", diff --git a/src/NzbDrone.Core/Localization/Core/hr.json b/src/NzbDrone.Core/Localization/Core/hr.json index a34bcfac0..0addd7488 100644 --- a/src/NzbDrone.Core/Localization/Core/hr.json +++ b/src/NzbDrone.Core/Localization/Core/hr.json @@ -134,8 +134,8 @@ "DeleteNotificationMessageText": "Jeste li sigurni da želite obrisati oznaku formata {0}?", "DeleteQualityProfileMessageText": "Jeste li sigurni da želite obrisati ovaj profil odgode?", "DeleteRootFolderMessageText": "Jeste li sigurni da želite obrisati oznaku formata {0}?", - "UsingExternalUpdateMechanismBranchToUseToUpdateReadarr": "Grana korištena za ažuriranje Radarra", - "UsingExternalUpdateMechanismBranchUsedByExternalUpdateMechanism": "Grana korištena od strane vanjskog mehanizma za ažuriranje", + "BranchUpdate": "Grana korištena za ažuriranje Radarra", + "BranchUpdateMechanism": "Grana korištena od strane vanjskog mehanizma za ažuriranje", "ColonReplacement": "Zamjena Zareza", "DeleteRemotePathMapping": "Daljinsko Mapiranje Portova", "BlocklistReleaseHelpText": "Spriječi Radarr da automatski dohvaća ovu verziju ponovno", diff --git a/src/NzbDrone.Core/Localization/Core/hu.json b/src/NzbDrone.Core/Localization/Core/hu.json index 4b53e010e..de955afb7 100644 --- a/src/NzbDrone.Core/Localization/Core/hu.json +++ b/src/NzbDrone.Core/Localization/Core/hu.json @@ -422,8 +422,8 @@ "UsenetDelay": "Usenet késleltetés", "UsenetDelayHelpText": "Időeltolás percekben, mielőtt megkaparintana egy Usenet kiadást", "Username": "Felhasználónév", - "UsingExternalUpdateMechanismBranchToUseToUpdateReadarr": "Ágazattípus a Radarr frissítéseihez", - "UsingExternalUpdateMechanismBranchUsedByExternalUpdateMechanism": "A külső frissítési mechanizmus által használt ágazat", + "BranchUpdate": "Ágazattípus a Radarr frissítéseihez", + "BranchUpdateMechanism": "A külső frissítési mechanizmus által használt ágazat", "Version": "Verzió", "WeekColumnHeader": "Heti oszlopfejléc", "Year": "Év", diff --git a/src/NzbDrone.Core/Localization/Core/is.json b/src/NzbDrone.Core/Localization/Core/is.json index afc805331..badb7b8dd 100644 --- a/src/NzbDrone.Core/Localization/Core/is.json +++ b/src/NzbDrone.Core/Localization/Core/is.json @@ -429,8 +429,8 @@ "UsenetDelay": "Seinkun Usenet", "UsenetDelayHelpText": "Seinkaðu í nokkrar mínútur til að bíða áður en þú grípur losun frá Usenet", "Username": "Notendanafn", - "UsingExternalUpdateMechanismBranchToUseToUpdateReadarr": "Útibú til að nota til að uppfæra Radarr", - "UsingExternalUpdateMechanismBranchUsedByExternalUpdateMechanism": "Útibú notað af ytri uppfærslu", + "BranchUpdate": "Útibú til að nota til að uppfæra Radarr", + "BranchUpdateMechanism": "Útibú notað af ytri uppfærslu", "Version": "Útgáfa", "WeekColumnHeader": "Haus vikudálkur", "Year": "Ár", diff --git a/src/NzbDrone.Core/Localization/Core/it.json b/src/NzbDrone.Core/Localization/Core/it.json index 4b018ad3a..d28d9cf46 100644 --- a/src/NzbDrone.Core/Localization/Core/it.json +++ b/src/NzbDrone.Core/Localization/Core/it.json @@ -16,8 +16,8 @@ "UsenetDelay": "Ritardo della Usenet", "UsenetDelayHelpText": "Minuti di attesa prima di prendere una release da Usenet", "Username": "Nome Utente", - "UsingExternalUpdateMechanismBranchToUseToUpdateReadarr": "Branch da utilizzare per aggiornare Radarr", - "UsingExternalUpdateMechanismBranchUsedByExternalUpdateMechanism": "Ramo utilizzato dal sistema di aggiornamento esterno", + "BranchUpdate": "Branch da utilizzare per aggiornare Radarr", + "BranchUpdateMechanism": "Ramo utilizzato dal sistema di aggiornamento esterno", "Version": "Versione", "WeekColumnHeader": "Intestazione colonna settimana", "Year": "Anno", diff --git a/src/NzbDrone.Core/Localization/Core/ja.json b/src/NzbDrone.Core/Localization/Core/ja.json index dad02014e..f10e7d788 100644 --- a/src/NzbDrone.Core/Localization/Core/ja.json +++ b/src/NzbDrone.Core/Localization/Core/ja.json @@ -429,8 +429,8 @@ "UsenetDelay": "Usenet遅延", "UsenetDelayHelpText": "Usenetからリリースを取得する前に待機するために数分遅れます", "Username": "ユーザー名", - "UsingExternalUpdateMechanismBranchToUseToUpdateReadarr": "Radarrの更新に使用するブランチ", - "UsingExternalUpdateMechanismBranchUsedByExternalUpdateMechanism": "外部更新メカニズムで使用されるブランチ", + "BranchUpdate": "Radarrの更新に使用するブランチ", + "BranchUpdateMechanism": "外部更新メカニズムで使用されるブランチ", "Version": "バージョン", "WeekColumnHeader": "週の列ヘッダー", "Year": "年", diff --git a/src/NzbDrone.Core/Localization/Core/ko.json b/src/NzbDrone.Core/Localization/Core/ko.json index def629db0..859756baa 100644 --- a/src/NzbDrone.Core/Localization/Core/ko.json +++ b/src/NzbDrone.Core/Localization/Core/ko.json @@ -423,8 +423,8 @@ "UsenetDelay": "유즈넷 지연", "UsenetDelayHelpText": "Usenet에서 릴리스를 가져 오기 전에 대기하는 데 몇 분 지연", "Username": "사용자 이름", - "UsingExternalUpdateMechanismBranchToUseToUpdateReadarr": "Radarr 업데이트에 사용할 분기", - "UsingExternalUpdateMechanismBranchUsedByExternalUpdateMechanism": "외부 업데이트 메커니즘에서 사용하는 분기", + "BranchUpdate": "Radarr 업데이트에 사용할 분기", + "BranchUpdateMechanism": "외부 업데이트 메커니즘에서 사용하는 분기", "Version": "버전", "WeekColumnHeader": "주 열 헤더", "YesCancel": "예, 취소합니다", diff --git a/src/NzbDrone.Core/Localization/Core/nb_NO.json b/src/NzbDrone.Core/Localization/Core/nb_NO.json index 62d10663b..845a4475e 100644 --- a/src/NzbDrone.Core/Localization/Core/nb_NO.json +++ b/src/NzbDrone.Core/Localization/Core/nb_NO.json @@ -43,8 +43,8 @@ "DeleteTagMessageText": "Er du sikker på at du vil slette formattaggen {0}?", "ResetAPIKeyMessageText": "Er du sikker på at du vil tilbakestille API -nøkkelen din?", "ShowQualityProfile": "Legg til kvalitetsprofil", - "UsingExternalUpdateMechanismBranchToUseToUpdateReadarr": "Gren som skal brukes til å oppdatere Radarr", - "UsingExternalUpdateMechanismBranchUsedByExternalUpdateMechanism": "Gren brukt av ekstern oppdateringsmekanisme", + "BranchUpdate": "Gren som skal brukes til å oppdatere Radarr", + "BranchUpdateMechanism": "Gren brukt av ekstern oppdateringsmekanisme", "DeleteDownloadClientMessageText": "Er du sikker på at du vil slette formattaggen {0}?", "DeleteImportListMessageText": "Er du sikker på at du vil slette formattaggen {0}?", "DeleteIndexerMessageText": "Er du sikker på at du vil slette formattaggen {0}?", diff --git a/src/NzbDrone.Core/Localization/Core/nl.json b/src/NzbDrone.Core/Localization/Core/nl.json index cf2ee27db..21c529066 100644 --- a/src/NzbDrone.Core/Localization/Core/nl.json +++ b/src/NzbDrone.Core/Localization/Core/nl.json @@ -424,8 +424,8 @@ "UsenetDelay": "Usenet Vertraging", "UsenetDelayHelpText": "Vertraging in minuten om te wachten voordat een uitgave wordt opgehaald van Usenet", "Username": "Gebruikersnaam", - "UsingExternalUpdateMechanismBranchToUseToUpdateReadarr": "Te gebruiken branch om Radarr bij te werken", - "UsingExternalUpdateMechanismBranchUsedByExternalUpdateMechanism": "Gebruikte branch door extern update mechanisme", + "BranchUpdate": "Te gebruiken branch om Radarr bij te werken", + "BranchUpdateMechanism": "Gebruikte branch door extern update mechanisme", "Version": "Versie", "WeekColumnHeader": "Week Kolom Koptekst", "Year": "Jaar", diff --git a/src/NzbDrone.Core/Localization/Core/pl.json b/src/NzbDrone.Core/Localization/Core/pl.json index 5b6cf90f5..d33900ebf 100644 --- a/src/NzbDrone.Core/Localization/Core/pl.json +++ b/src/NzbDrone.Core/Localization/Core/pl.json @@ -429,8 +429,8 @@ "UsenetDelay": "Opóźnienie Usenetu", "UsenetDelayHelpText": "Opóźnij w ciągu kilku minut, aby poczekać przed pobraniem wersji z Usenetu", "Username": "Nazwa Użytkownika", - "UsingExternalUpdateMechanismBranchToUseToUpdateReadarr": "Oddział do użycia do aktualizacji Radarr", - "UsingExternalUpdateMechanismBranchUsedByExternalUpdateMechanism": "Gałąź używana przez zewnętrzny mechanizm aktualizacji", + "BranchUpdate": "Oddział do użycia do aktualizacji Radarr", + "BranchUpdateMechanism": "Gałąź używana przez zewnętrzny mechanizm aktualizacji", "Version": "Wersja", "WeekColumnHeader": "Nagłówek kolumny tygodnia", "YesCancel": "Tak, anuluj", diff --git a/src/NzbDrone.Core/Localization/Core/pt.json b/src/NzbDrone.Core/Localization/Core/pt.json index 36fb8db6d..4410faf84 100644 --- a/src/NzbDrone.Core/Localization/Core/pt.json +++ b/src/NzbDrone.Core/Localization/Core/pt.json @@ -50,8 +50,8 @@ "UsenetDelay": "Atraso para Usenet", "UsenetDelayHelpText": "Tempo, em minutos, para aguardar antes de capturar uma versão de Usenet", "Username": "Nome de utilizador", - "UsingExternalUpdateMechanismBranchToUseToUpdateReadarr": "Ramificação utilizada para atualizar o Readarr", - "UsingExternalUpdateMechanismBranchUsedByExternalUpdateMechanism": "Ramificação utilizada pelo mecanismo externo de atualização", + "BranchUpdate": "Ramificação utilizada para atualizar o Readarr", + "BranchUpdateMechanism": "Ramificação utilizada pelo mecanismo externo de atualização", "Version": "Versão", "WeekColumnHeader": "Cabeçalho da coluna de semana", "Year": "Ano", diff --git a/src/NzbDrone.Core/Localization/Core/pt_BR.json b/src/NzbDrone.Core/Localization/Core/pt_BR.json index 5687998ff..333431744 100644 --- a/src/NzbDrone.Core/Localization/Core/pt_BR.json +++ b/src/NzbDrone.Core/Localization/Core/pt_BR.json @@ -427,8 +427,8 @@ "UsenetDelay": "Atraso da Usenet", "UsenetDelayHelpText": "Atraso em minutos para esperar antes de pegar um lançamento da Usenet", "Username": "Nome do usuário", - "UsingExternalUpdateMechanismBranchToUseToUpdateReadarr": "Ramificação para atualizar o Readarr", - "UsingExternalUpdateMechanismBranchUsedByExternalUpdateMechanism": "Ramificação usada pelo mecanismo de atualização externo", + "BranchUpdate": "Ramificação para atualizar o Readarr", + "BranchUpdateMechanism": "Ramificação usada pelo mecanismo de atualização externo", "Version": "Versão", "WeekColumnHeader": "Cabeçalho da Coluna da Semana", "Year": "Ano", diff --git a/src/NzbDrone.Core/Localization/Core/ro.json b/src/NzbDrone.Core/Localization/Core/ro.json index 23105c13a..c289e210c 100644 --- a/src/NzbDrone.Core/Localization/Core/ro.json +++ b/src/NzbDrone.Core/Localization/Core/ro.json @@ -428,8 +428,8 @@ "UsenetDelay": "Întârziere Usenet", "UsenetDelayHelpText": "Întârziați în câteva minute pentru a aștepta înainte de a lua o eliberare de la Usenet", "Username": "Nume utilizator", - "UsingExternalUpdateMechanismBranchToUseToUpdateReadarr": "Sucursală de utilizat pentru actualizarea Radarr", - "UsingExternalUpdateMechanismBranchUsedByExternalUpdateMechanism": "Ramură utilizată de mecanismul extern de actualizare", + "BranchUpdate": "Sucursală de utilizat pentru actualizarea Radarr", + "BranchUpdateMechanism": "Ramură utilizată de mecanismul extern de actualizare", "Version": "Versiune", "WeekColumnHeader": "Antetul coloanei săptămânii", "Year": "An", diff --git a/src/NzbDrone.Core/Localization/Core/ru.json b/src/NzbDrone.Core/Localization/Core/ru.json index 80e668df9..1bd40916d 100644 --- a/src/NzbDrone.Core/Localization/Core/ru.json +++ b/src/NzbDrone.Core/Localization/Core/ru.json @@ -429,8 +429,8 @@ "UsenetDelay": "Usenet задержки", "UsenetDelayHelpText": "Задержка в минутах перед получением релиза из Usenet", "Username": "Пользователь", - "UsingExternalUpdateMechanismBranchToUseToUpdateReadarr": "Ветвь для обновления Radarr", - "UsingExternalUpdateMechanismBranchUsedByExternalUpdateMechanism": "Ветвь, используемая внешним механизмом обновления", + "BranchUpdate": "Ветвь для обновления Radarr", + "BranchUpdateMechanism": "Ветвь, используемая внешним механизмом обновления", "Version": "Версия", "WeekColumnHeader": "Заголовок столбца недели", "Year": "Год", diff --git a/src/NzbDrone.Core/Localization/Core/sk.json b/src/NzbDrone.Core/Localization/Core/sk.json index 35949b52d..3718d945b 100644 --- a/src/NzbDrone.Core/Localization/Core/sk.json +++ b/src/NzbDrone.Core/Localization/Core/sk.json @@ -20,8 +20,8 @@ "DeleteTagMessageText": "Naozaj chcete zmazať značku formátu {0} ?", "ResetAPIKeyMessageText": "Naozaj chcete obnoviť kľúč API?", "ShowQualityProfile": "Pridajte profil kvality", - "UsingExternalUpdateMechanismBranchToUseToUpdateReadarr": "Vetva, ktorá sa má použiť k aktualizácií Radarru", - "UsingExternalUpdateMechanismBranchUsedByExternalUpdateMechanism": "Vetva používaná externým mechanizmom aktualizácie", + "BranchUpdate": "Vetva, ktorá sa má použiť k aktualizácií Radarru", + "BranchUpdateMechanism": "Vetva používaná externým mechanizmom aktualizácie", "AutoRedownloadFailedHelpText": "Automaticky vyhľadať a pokúsiť sa stiahnuť iné vydanie", "AutoUnmonitorPreviouslyDownloadedBooksHelpText": "Filmy odstránené z disku sa automaticky prestanú v Radarre sledovať", "BackupFolderHelpText": "Relatívne cesty budú v priečinku AppData Radarru", diff --git a/src/NzbDrone.Core/Localization/Core/sv.json b/src/NzbDrone.Core/Localization/Core/sv.json index 083657c1c..9cb1ca833 100644 --- a/src/NzbDrone.Core/Localization/Core/sv.json +++ b/src/NzbDrone.Core/Localization/Core/sv.json @@ -429,8 +429,8 @@ "Usenet": "Usenet", "UsenetDelay": "Usenet fördröjning", "UsenetDelayHelpText": "Fördröja på några minuter för att vänta innan du hämtar en utgåva från Usenet", - "UsingExternalUpdateMechanismBranchToUseToUpdateReadarr": "Gren att använda för att uppdatera Radarr", - "UsingExternalUpdateMechanismBranchUsedByExternalUpdateMechanism": "Gren som används av extern uppdateringsmekanism", + "BranchUpdate": "Gren att använda för att uppdatera Radarr", + "BranchUpdateMechanism": "Gren som används av extern uppdateringsmekanism", "Version": "Version", "WeekColumnHeader": "Rubrik för veckokolumn", "Year": "År", diff --git a/src/NzbDrone.Core/Localization/Core/th.json b/src/NzbDrone.Core/Localization/Core/th.json index 384f110b7..e1e4f9923 100644 --- a/src/NzbDrone.Core/Localization/Core/th.json +++ b/src/NzbDrone.Core/Localization/Core/th.json @@ -429,8 +429,8 @@ "UsenetDelay": "Usenet ล่าช้า", "UsenetDelayHelpText": "รอเป็นนาทีก่อนที่จะคว้ารุ่นจาก Usenet", "Username": "ชื่อผู้ใช้", - "UsingExternalUpdateMechanismBranchToUseToUpdateReadarr": "สาขาที่จะใช้ในการอัปเดต Radarr", - "UsingExternalUpdateMechanismBranchUsedByExternalUpdateMechanism": "สาขาที่ใช้โดยกลไกการอัพเดตภายนอก", + "BranchUpdate": "สาขาที่จะใช้ในการอัปเดต Radarr", + "BranchUpdateMechanism": "สาขาที่ใช้โดยกลไกการอัพเดตภายนอก", "Version": "เวอร์ชัน", "WeekColumnHeader": "ส่วนหัวคอลัมน์สัปดาห์", "Year": "ปี", diff --git a/src/NzbDrone.Core/Localization/Core/tr.json b/src/NzbDrone.Core/Localization/Core/tr.json index 90e4b16f1..2c6a03144 100644 --- a/src/NzbDrone.Core/Localization/Core/tr.json +++ b/src/NzbDrone.Core/Localization/Core/tr.json @@ -429,8 +429,8 @@ "UsenetDelay": "Usenet Gecikmesi", "UsenetDelayHelpText": "Usenet'ten bir yayın almadan önce beklemek için dakika cinsinden gecikme", "Username": "Kullanıcı adı", - "UsingExternalUpdateMechanismBranchToUseToUpdateReadarr": "Radarr'ı güncellemek için kullanılacak dal", - "UsingExternalUpdateMechanismBranchUsedByExternalUpdateMechanism": "Harici güncelleme mekanizması tarafından kullanılan dal", + "BranchUpdate": "Radarr'ı güncellemek için kullanılacak dal", + "BranchUpdateMechanism": "Harici güncelleme mekanizması tarafından kullanılan dal", "Version": "Sürüm", "WeekColumnHeader": "Hafta Sütun Başlığı", "Year": "Yıl", diff --git a/src/NzbDrone.Core/Localization/Core/uk.json b/src/NzbDrone.Core/Localization/Core/uk.json index d22ee0fcf..4fa2f9065 100644 --- a/src/NzbDrone.Core/Localization/Core/uk.json +++ b/src/NzbDrone.Core/Localization/Core/uk.json @@ -74,7 +74,7 @@ "DeleteQualityProfileMessageText": "Ви впевнені, що хочете видалити профіль якості '{name}'?", "DeleteRootFolderMessageText": "Ви впевнені, що хочете видалити тег {0} ?", "DeleteTagMessageText": "Ви впевнені, що хочете видалити тег {0} ?", - "UsingExternalUpdateMechanismBranchToUseToUpdateReadarr": "Гілка для оновлення Radarr", + "BranchUpdate": "Гілка для оновлення Radarr", "ChmodFolderHelpTextWarning": "Це працює лише в тому випадку, якщо власником файлу є користувач, на якому працює Radarr. Краще переконатися, що клієнт завантаження правильно встановлює дозволи.", "ResetAPIKeyMessageText": "Ви впевнені, що хочете скинути свій ключ API?", "CouldntFindAnyResultsForTerm": "Не вдалося знайти жодних результатів для '{0}'", @@ -87,7 +87,7 @@ "AuthorClickToChangeBook": "Натисніть, щоб змінити фільм", "AutoUnmonitorPreviouslyDownloadedBooksHelpText": "Фільми, видалені з диска, автоматично не відстежуються в Radarr", "BackupFolderHelpText": "Відносні шляхи будуть у каталозі AppData Radarr", - "UsingExternalUpdateMechanismBranchUsedByExternalUpdateMechanism": "Гілка, що використовується зовнішнім механізмом оновлення", + "BranchUpdateMechanism": "Гілка, що використовується зовнішнім механізмом оновлення", "AddList": "Додати список", "ShowDateAdded": "Показати дату додавання", "UnableToLoadBlocklist": "Не вдалося завантажити список блокувань", diff --git a/src/NzbDrone.Core/Localization/Core/vi.json b/src/NzbDrone.Core/Localization/Core/vi.json index ab14700f0..600509054 100644 --- a/src/NzbDrone.Core/Localization/Core/vi.json +++ b/src/NzbDrone.Core/Localization/Core/vi.json @@ -422,8 +422,8 @@ "UsenetDelay": "Sự chậm trễ của Usenet", "UsenetDelayHelpText": "Trì hoãn vài phút để đợi trước khi lấy bản phát hành từ Usenet", "Username": "tên tài khoản", - "UsingExternalUpdateMechanismBranchToUseToUpdateReadarr": "Nhánh sử dụng để cập nhật Radarr", - "UsingExternalUpdateMechanismBranchUsedByExternalUpdateMechanism": "Nhánh được sử dụng bởi cơ chế cập nhật bên ngoài", + "BranchUpdate": "Nhánh sử dụng để cập nhật Radarr", + "BranchUpdateMechanism": "Nhánh được sử dụng bởi cơ chế cập nhật bên ngoài", "Version": "Phiên bản", "WeekColumnHeader": "Tiêu đề cột tuần", "Year": "Năm", diff --git a/src/NzbDrone.Core/Localization/Core/zh_CN.json b/src/NzbDrone.Core/Localization/Core/zh_CN.json index bbfa5315c..bd238e5ee 100644 --- a/src/NzbDrone.Core/Localization/Core/zh_CN.json +++ b/src/NzbDrone.Core/Localization/Core/zh_CN.json @@ -415,8 +415,8 @@ "UsenetDelay": "Usenet延时", "UsenetDelayHelpText": "延迟几分钟才能等待从Usenet获取发布", "Username": "用户名", - "UsingExternalUpdateMechanismBranchToUseToUpdateReadarr": "更新Radarr的分支", - "UsingExternalUpdateMechanismBranchUsedByExternalUpdateMechanism": "外部更新机制使用的分支", + "BranchUpdate": "更新Radarr的分支", + "BranchUpdateMechanism": "外部更新机制使用的分支", "Version": "版本", "WeekColumnHeader": "日期格式", "Year": "年", diff --git a/src/NzbDrone.Core/Localization/Core/zh_TW.json b/src/NzbDrone.Core/Localization/Core/zh_TW.json index 63d7e65f6..957672ab4 100644 --- a/src/NzbDrone.Core/Localization/Core/zh_TW.json +++ b/src/NzbDrone.Core/Localization/Core/zh_TW.json @@ -136,7 +136,7 @@ "RootFolder": "根目錄資料夾", "Settings": "設定", "SomeResultsAreHiddenByTheAppliedFilter": "根據所使用的篩選器已將所有結果隱藏", - "UsingExternalUpdateMechanismBranchUsedByExternalUpdateMechanism": "外部更新機制使用的分支", + "BranchUpdateMechanism": "外部更新機制使用的分支", "DeleteImportListExclusion": "新增排除清單", "ApplyTagsHelpTextHowToApplyIndexers": "如何套用標籤在所選擇的輸入清單", "UnableToAddANewImportListExclusionPleaseTryAgain": "無法加入新的條件,請重新嘗試。", diff --git a/src/NzbDrone.Core/Update/InstallUpdateService.cs b/src/NzbDrone.Core/Update/InstallUpdateService.cs index d6fa3e41e..319d2e02f 100644 --- a/src/NzbDrone.Core/Update/InstallUpdateService.cs +++ b/src/NzbDrone.Core/Update/InstallUpdateService.cs @@ -83,7 +83,7 @@ namespace NzbDrone.Core.Update { EnsureAppDataSafety(); - if (OsInfo.IsWindows || _configFileProvider.UpdateMechanism != UpdateMechanism.Script) + if (_configFileProvider.UpdateMechanism != UpdateMechanism.Script) { var startupFolder = _appFolderInfo.StartUpFolder; var uiFolder = Path.Combine(startupFolder, "UI"); @@ -143,7 +143,7 @@ namespace NzbDrone.Core.Update _backupService.Backup(BackupType.Update); - if (OsInfo.IsNotWindows && _configFileProvider.UpdateMechanism == UpdateMechanism.Script) + if (_configFileProvider.UpdateMechanism == UpdateMechanism.Script) { InstallUpdateWithScript(updateSandboxFolder); return true;