mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-11 10:31:47 +00:00
* Custom: like before but slightly position * Native: use the native video-toggle * Disabled: force disable the native video-toggle
11 lines
346 B
JavaScript
11 lines
346 B
JavaScript
const { injectCSS } = require("../utils");
|
|
const path = require("path");
|
|
|
|
module.exports = (win, options) => {
|
|
if (options.forceHide) {
|
|
injectCSS(win.webContents, path.join(__dirname, "force-hide.css"));
|
|
} else if (!options.mode || options.mode === "custom") {
|
|
injectCSS(win.webContents, path.join(__dirname, "button-switcher.css"));
|
|
}
|
|
};
|