mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-12 02:51:46 +00:00
feat: refactor plugin utils (#1391)
This commit is contained in:
@ -2,7 +2,7 @@ import { BrowserWindow } from 'electron';
|
||||
|
||||
import style from './style.css';
|
||||
|
||||
import { injectCSS } from '../utils';
|
||||
import { injectCSS } from '../utils/main';
|
||||
|
||||
export function handle(win: BrowserWindow) {
|
||||
injectCSS(win.webContents, style, () => {
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
import forwardHTML from './templates/forward.html?raw';
|
||||
import backHTML from './templates/back.html?raw';
|
||||
|
||||
import { ElementFromHtml } from '../utils-renderer';
|
||||
import { ElementFromHtml } from '../utils/renderer';
|
||||
|
||||
export function run() {
|
||||
window.ipcRenderer.on('navigation-css-ready', () => {
|
||||
|
||||
Reference in New Issue
Block a user