prettier formating
This commit is contained in:
parent
1468cbcb3c
commit
2a201156f7
@ -530,7 +530,7 @@ export async function downloadCrunchyrollPlaylist(
|
|||||||
|
|
||||||
const chapterFolder = await createFolder()
|
const chapterFolder = await createFolder()
|
||||||
|
|
||||||
var downloadDir: string = downloadPath;
|
var downloadDir: string = downloadPath
|
||||||
|
|
||||||
var isSeasonFolderActive = (await settings.get('seasonFolderActive')) as string
|
var isSeasonFolderActive = (await settings.get('seasonFolderActive')) as string
|
||||||
|
|
||||||
@ -547,7 +547,7 @@ export async function downloadCrunchyrollPlaylist(
|
|||||||
.replace('{seasonNumberDD}', season.toString().padStart(2, '0'))
|
.replace('{seasonNumberDD}', season.toString().padStart(2, '0'))
|
||||||
.replace('{quality}', quality.toString() + 'p')
|
.replace('{quality}', quality.toString() + 'p')
|
||||||
|
|
||||||
downloadDir = await createFolderName(seasonFolderNaming, downloadPath)
|
downloadDir = await createFolderName(seasonFolderNaming, downloadPath)
|
||||||
}
|
}
|
||||||
|
|
||||||
await updatePlaylistByID(downloadID, undefined, undefined, downloadDir)
|
await updatePlaylistByID(downloadID, undefined, undefined, downloadDir)
|
||||||
|
@ -24,5 +24,5 @@ contextBridge.exposeInMainWorld('myAPI', {
|
|||||||
setSeasonTemplate: (name: string) => ipcRenderer.invoke('dialog:setSeasonTemplate', name),
|
setSeasonTemplate: (name: string) => ipcRenderer.invoke('dialog:setSeasonTemplate', name),
|
||||||
getSeasonTemplate: () => ipcRenderer.invoke('dialog:getSeasonTemplate'),
|
getSeasonTemplate: () => ipcRenderer.invoke('dialog:getSeasonTemplate'),
|
||||||
setSeasonEnabled: (status: boolean) => ipcRenderer.invoke('dialog:setSeasonEnabledTemplate', status),
|
setSeasonEnabled: (status: boolean) => ipcRenderer.invoke('dialog:setSeasonEnabledTemplate', status),
|
||||||
getSeasonEnabled: (status: boolean) => ipcRenderer.invoke('dialog:getSeasonEnabledTemplate', status),
|
getSeasonEnabled: (status: boolean) => ipcRenderer.invoke('dialog:getSeasonEnabledTemplate', status)
|
||||||
})
|
})
|
||||||
|
Reference in New Issue
Block a user