mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-01 02:13:33 +00:00
[enhancement]: allow downloading individual tracks for external use
This commit is contained in:
parent
10fca2dc12
commit
c4677a63f6
10 changed files with 91 additions and 6 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue