mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-11 10:31:47 +00:00
use new dynamic config
This commit is contained in:
@ -1,7 +1,9 @@
|
||||
const { ipcMain } = require("electron");
|
||||
const { Innertube } = require("youtubei.js");
|
||||
|
||||
module.exports = async (win, options) => {
|
||||
require("./config");
|
||||
|
||||
module.exports = async () => {
|
||||
const yt = await Innertube.create();
|
||||
|
||||
ipcMain.handle("audio-url", async (_, videoID) => {
|
||||
|
||||
Reference in New Issue
Block a user