mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-11 10:31:47 +00:00
Add downloader utils (getFolder and default menu label)
This commit is contained in:
4
plugins/downloader/utils.js
Normal file
4
plugins/downloader/utils.js
Normal file
@ -0,0 +1,4 @@
|
||||
const downloadsFolder = require("downloads-folder");
|
||||
|
||||
module.exports.getFolder = (customFolder) => customFolder || downloadsFolder();
|
||||
module.exports.defaultMenuDownloadLabel = "Download playlist";
|
||||
Reference in New Issue
Block a user