mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-09-08 17:08:49 +08:00
🔨 Refactor(custom): refactored setting page
This commit is contained in:
@@ -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
|
||||||
|
|||||||
+220
-551
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user