mirror of
https://github.com/Kuingsmile/PicList.git
synced 2025-02-02 11:08:13 -05:00
🔨 Refactor(custom): refactored setting page
This commit is contained in:
parent
3bc784f4d8
commit
6432837909
@ -235,14 +235,6 @@ export default {
|
|||||||
|
|
||||||
// PicList Setting page IPC
|
// PicList Setting page IPC
|
||||||
|
|
||||||
ipcMain.on('updateCustomLink', () => {
|
|
||||||
const notification = new Notification({
|
|
||||||
title: T('OPERATION_SUCCEED'),
|
|
||||||
body: T('TIPS_CUSTOM_LINK_STYLE_MODIFIED_SUCCEED')
|
|
||||||
})
|
|
||||||
notification.show()
|
|
||||||
})
|
|
||||||
|
|
||||||
ipcMain.on('autoStart', (_: IpcMainEvent, val: boolean) => {
|
ipcMain.on('autoStart', (_: IpcMainEvent, val: boolean) => {
|
||||||
app.setLoginItemSettings({
|
app.setLoginItemSettings({
|
||||||
openAtLogin: val
|
openAtLogin: val
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user