mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-05-24 01:30:16 +08:00
🚧 WIP: i18n of manage page, setting page done
This commit is contained in:
@@ -5,6 +5,7 @@ import UpDownTaskQueue from '../datastore/upDownTaskQueue'
|
||||
import { downloadFileFromUrl } from '../utils/common'
|
||||
import path from 'path'
|
||||
import fs from 'fs-extra'
|
||||
import { selectDownloadFolder } from '@/manage/utils/static'
|
||||
|
||||
export const manageIpcList = {
|
||||
listen () {
|
||||
@@ -121,7 +122,7 @@ export const manageIpcList = {
|
||||
UpDownTaskQueue.getInstance().clearDownloadTaskQueue()
|
||||
})
|
||||
|
||||
ipcMain.handle('selectDownloadFolder', async () => {
|
||||
ipcMain.handle(selectDownloadFolder, async () => {
|
||||
const res = await dialog.showOpenDialog({
|
||||
properties: ['openDirectory']
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user