🔨 Refactor: remove old update checker

This commit is contained in:
萌萌哒赫萝
2023-04-05 23:14:20 +08:00
parent e39cac9f3b
commit 2fab2cd79d
2 changed files with 2 additions and 33 deletions

View File

@@ -50,16 +50,6 @@ export function createMenu () {
}
}
},
// @ts-ignore
{
label: T('OPEN_UPDATE_HELPER'),
type: 'checkbox',
checked: db.get('settings.showUpdateTip'),
click () {
const value = db.get('settings.showUpdateTip')
db.set('settings.showUpdateTip', !value)
}
},
{
label: T('PRIVACY_AGREEMENT'),
click () {
@@ -125,16 +115,6 @@ export function createContextMenu () {
// @ts-ignore
submenu
},
// @ts-ignore
{
label: T('OPEN_UPDATE_HELPER'),
type: 'checkbox',
checked: db.get('settings.showUpdateTip'),
click () {
const value = db.get('settings.showUpdateTip')
db.set('settings.showUpdateTip', !value)
}
},
{
label: T('PRIVACY_AGREEMENT'),
click () {
@@ -174,16 +154,6 @@ export function createContextMenu () {
}
}
},
// @ts-ignore
{
label: T('OPEN_UPDATE_HELPER'),
type: 'checkbox',
checked: db.get('settings.showUpdateTip'),
click () {
const value = db.get('settings.showUpdateTip')
db.set('settings.showUpdateTip', !value)
}
},
{
label: T('ABOUT'),
click () {