mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-15 04:11:47 +00:00
lint
This commit is contained in:
@ -1,11 +1,10 @@
|
|||||||
const { injectCSS } = require("../utils");
|
const { injectCSS } = require("../utils");
|
||||||
const path = require("path");
|
const path = require("path");
|
||||||
const { urlToHttpOptions } = require("url");
|
|
||||||
|
|
||||||
module.exports = (win, options) => {
|
module.exports = (win, options) => {
|
||||||
if (options.forceHide) {
|
if (options.forceHide) {
|
||||||
injectCSS(win.webContents, path.join(__dirname, "forceHide.css"));
|
injectCSS(win.webContents, path.join(__dirname, "force-hide.css"));
|
||||||
} else {
|
} else {
|
||||||
injectCSS(win.webContents, path.join(__dirname, "buttonSwitcher.css"));
|
injectCSS(win.webContents, path.join(__dirname, "button-switcher.css"));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user