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:
parent
0226152884
commit
0d3db0739a
@ -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',
|
||||
],
|
||||
};
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user