[enhancement]: allow downloading individual tracks for external use

This commit is contained in:
Kendall Garner
2024-08-25 17:08:38 -07:00
parent 10fca2dc12
commit c4677a63f6
10 changed files with 91 additions and 6 deletions
+4
View File
@@ -364,6 +364,10 @@ const createWindow = async (first = true) => {
}
});
ipcMain.on('download-url', (_event, url: string) => {
mainWindow?.webContents.downloadURL(url);
});
const globalMediaKeysEnabled = store.get('global_media_hotkeys', true) as boolean;
if (globalMediaKeysEnabled) {