Changeset View
Changeset View
Standalone View
Standalone View
files/0001-Disable-update-checking.patch
| From 613e752b83fa0fa070607647637029fca3074725 Mon Sep 17 00:00:00 2001 | From b54a0822abb4451d197e59101548e55bfddd4bbd Mon Sep 17 00:00:00 2001 | ||||
| From: =?UTF-8?q?R=C3=A9gis=20Patroix?= <regis.patroix@gmail.com> | From: Campbell Jones <git@serebit.com> | ||||
| Date: Tue, 5 May 2020 20:18:53 +0200 | Date: Sat, 31 Jul 2021 17:53:20 -0400 | ||||
| Subject: [PATCH 1/1] Disable update checking | Subject: [PATCH] Disable update checking | ||||
| --- | --- | ||||
| lib/gui/app/models/settings.ts | 3 +-- | lib/gui/app/models/settings.ts | 4 +--- | ||||
| 1 file changed, 1 insertion(+), 2 deletions(-) | 1 file changed, 1 insertion(+), 3 deletions(-) | ||||
| diff --git a/lib/gui/app/models/settings.ts b/lib/gui/app/models/settings.ts | diff --git a/lib/gui/app/models/settings.ts b/lib/gui/app/models/settings.ts | ||||
| index a4b00eee..d6ffcf4d 100644 | index 25c9cd7a..d766a2c5 100644 | ||||
| --- a/lib/gui/app/models/settings.ts | --- a/lib/gui/app/models/settings.ts | ||||
| +++ b/lib/gui/app/models/settings.ts | +++ b/lib/gui/app/models/settings.ts | ||||
| @@ -20,7 +20,6 @@ import * as _ from 'lodash'; | @@ -20,8 +20,6 @@ import * as _ from 'lodash'; | ||||
| import { promises as fs } from 'fs'; | import { promises as fs } from 'fs'; | ||||
| import { join } from 'path'; | import { join } from 'path'; | ||||
| -import * as packageJSON from '../../../../package.json'; | -import * as packageJSON from '../../../../package.json'; | ||||
| - | |||||
| const debug = _debug('etcher:models:settings'); | const debug = _debug('etcher:models:settings'); | ||||
| @@ -77,7 +76,7 @@ const DEFAULT_SETTINGS: _.Dictionary<any> = { | const JSON_INDENT = 2; | ||||
| @@ -77,7 +75,7 @@ export async function writeConfigFile( | |||||
| const DEFAULT_SETTINGS: _.Dictionary<any> = { | |||||
| errorReporting: true, | errorReporting: true, | ||||
| unmountOnSuccess: true, | - updatesEnabled: ['appimage', 'nsis', 'dmg'].includes(packageJSON.packageType), | ||||
| validateWriteOnSuccess: true, | |||||
| - updatesEnabled: !_.includes(['rpm', 'deb'], packageJSON.packageType), | |||||
| + updatesEnabled: false, | + updatesEnabled: false, | ||||
| desktopNotifications: true, | desktopNotifications: true, | ||||
| autoBlockmapping: true, | autoBlockmapping: true, | ||||
| decompressFirst: true, | decompressFirst: true, | ||||
| -- | -- | ||||
| 2.26.2 | 2.32.0 | ||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.