diff options
Diffstat (limited to 'www/chromium-uc/patches/extra/iridium-browser/updater-disable-auto-update.patch')
| -rw-r--r-- | www/chromium-uc/patches/extra/iridium-browser/updater-disable-auto-update.patch | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/www/chromium-uc/patches/extra/iridium-browser/updater-disable-auto-update.patch b/www/chromium-uc/patches/extra/iridium-browser/updater-disable-auto-update.patch deleted file mode 100644 index a6be904..0000000 --- a/www/chromium-uc/patches/extra/iridium-browser/updater-disable-auto-update.patch +++ /dev/null | |||
| @@ -1,27 +0,0 @@ | |||
| 1 | From f97af1715c10c5926169ff317ca7c91f1d073af9 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Jan Engelhardt <jengelh@inai.de> | ||
| 3 | Date: Fri, 13 Feb 2015 00:59:04 +0100 | ||
| 4 | Subject: [PATCH 39/66] updater: disable auto-update | ||
| 5 | |||
| 6 | As per http://www.chromium.org/administrators/turning-off-auto-updates , | ||
| 7 | the auto update function is decidedly disabled on Linux, i.e. | ||
| 8 | the following patch is for Windows and MacOS. | ||
| 9 | |||
| 10 | For Windows, all we need is to build without -DGOOGLE_CHROME_BUILD (cf. | ||
| 11 | chrome/installer/util/google_update_settings.cc), which may already be | ||
| 12 | the case anyway, since we are based off Chromium, not Chrome. | ||
| 13 | --- | ||
| 14 | chrome/browser/app_controller_mac.mm | 2 +- | ||
| 15 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 16 | |||
| 17 | --- chrome/browser/app_controller_mac.mm.orig | ||
| 18 | +++ chrome/browser/app_controller_mac.mm | ||
| 19 | @@ -866,7 +866,7 @@ static base::mac::ScopedObjCClassSwizzle | ||
| 20 | CFStringRef checkInterval = CFSTR("checkInterval"); | ||
| 21 | CFPropertyListRef plist = CFPreferencesCopyAppValue(checkInterval, app); | ||
| 22 | if (!plist) { | ||
| 23 | - const float fiveHoursInSeconds = 5.0 * 60.0 * 60.0; | ||
| 24 | + const float fiveHoursInSeconds = 0.0; | ||
| 25 | NSNumber* value = [NSNumber numberWithFloat:fiveHoursInSeconds]; | ||
| 26 | CFPreferencesSetAppValue(checkInterval, value, app); | ||
| 27 | CFPreferencesAppSynchronize(app); | ||
