2
0
mirror of https://github.com/frappe/books.git synced 2025-01-11 02:36:14 +00:00

ux: remove auto update option (notify)

This commit is contained in:
18alantom 2022-02-03 14:51:24 +05:30
parent 0226152884
commit 0d3db0739a
2 changed files with 1 additions and 14 deletions

View File

@ -88,15 +88,6 @@ module.exports = {
'Hides the Get Started section from the sidebar. Change will be visible on restart or refreshing the app.'
),
},
{
fieldname: 'autoUpdate',
label: 'Auto Update',
fieldtype: 'Check',
default: 1,
description: t(
'Automatically checks for updates and download them if available. The update will be applied after you restart the app.'
),
},
{
fieldname: 'autoReportErrors',
label: 'Hide & Auto Report Errors',
@ -112,7 +103,6 @@ module.exports = {
'locale',
'displayPrecision',
'hideGetStarted',
'autoUpdate',
'autoReportErrors',
],
};

View File

@ -415,8 +415,5 @@ export function stringifyCircular(
}
export function checkForUpdates(force = false) {
let { autoUpdate } = frappe.SystemSettings;
if (force || autoUpdate == null || autoUpdate === 1) {
ipcRenderer.invoke(IPC_ACTIONS.CHECK_FOR_UPDATES, force);
}
ipcRenderer.invoke(IPC_ACTIONS.CHECK_FOR_UPDATES, force);
}