Skip to content
Permalink
Browse files

projects/Amlogic-ng: TEMP: update everybody until out of Alpha's

  • Loading branch information...
adamg88 committed Apr 9, 2019
1 parent 86eefc2 commit f564532db51b4ba5350f0e7aa48f1e92c3e909a6
Showing with 21 additions and 0 deletions.
  1. +21 −0 projects/Amlogic-ng/patches/CoreELEC-settings/01-autoupdate.patch
@@ -0,0 +1,21 @@
diff --git a/src/resources/lib/modules/updates.py b/src/resources/lib/modules/updates.py
index 1c03f82..44fec5c 100644
--- a/src/resources/lib/modules/updates.py
+++ b/src/resources/lib/modules/updates.py
@@ -47,7 +47,7 @@ class updates:
'value': 'auto',
'action': 'set_auto_update',
'type': 'multivalue',
- 'values': ['auto', 'manual'],
+ 'values': ['auto'],
'InfoText': 714,
'order': 1,
},
@@ -511,7 +511,6 @@ class updates:
self.update_file = self.UPDATE_DOWNLOAD_URL % (update_json['data']['host'], update_json['data']['folder'], update_json['data']['update'])
if self.struct['update']['settings']['UpdateNotify']['value'] == '1':
self.oe.notify(self.oe._(32363).encode('utf-8'), self.oe._(32364).encode('utf-8'))
- if self.struct['update']['settings']['AutoUpdate']['value'] == 'auto' and force == False:
self.update_in_progress = True
self.do_autoupdate(None, True)
self.oe.dbg_log('updates::check_updates_v2', 'exit_function', 0)

0 comments on commit f564532

Please sign in to comment.
You can’t perform that action at this time.