mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-12 11:01:45 +00:00
apply fix from eslint
This commit is contained in:
@ -2,6 +2,6 @@ const path = require('node:path');
|
||||
|
||||
const { injectCSS } = require('../utils');
|
||||
|
||||
module.exports = (win, options) => {
|
||||
module.exports = (win) => {
|
||||
injectCSS(win.webContents, path.join(__dirname, 'empty-player.css'));
|
||||
};
|
||||
|
||||
@ -17,12 +17,13 @@ class WaveVisualizer {
|
||||
for (const animation of options.animations) {
|
||||
this.visualizer.addAnimation(
|
||||
eval(`new this.visualizer.animations.${animation.type}(
|
||||
${JSON.stringify(animation.config)}
|
||||
)`),
|
||||
${JSON.stringify(animation.config)}
|
||||
)`),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-unused-vars
|
||||
resize(width, height) {
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user