mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-14 03:41:46 +00:00
remove downloads-folder and use electron instead
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
const downloadsFolder = require("downloads-folder");
|
||||
const { app } = require("electron");
|
||||
|
||||
module.exports.getFolder = (customFolder) => customFolder || downloadsFolder();
|
||||
module.exports.getFolder = (customFolder) => customFolder || app.getPath("downloads");
|
||||
module.exports.defaultMenuDownloadLabel = "Download playlist";
|
||||
|
||||
Reference in New Issue
Block a user