mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-14 03:41:46 +00:00
feat: apply rollup 🚀 (#20)
Co-authored-by: Su-Yong <simssy2205@gmail.com>
This commit is contained in:
@ -1,14 +1,13 @@
|
||||
import path from 'node:path';
|
||||
|
||||
import { getAverageColor } from 'fast-average-color-node';
|
||||
import { BrowserWindow } from 'electron';
|
||||
|
||||
import style from './style.css';
|
||||
|
||||
import { injectCSS } from '../utils';
|
||||
import registerCallback from '../../providers/song-info';
|
||||
|
||||
|
||||
export default (win: BrowserWindow) => {
|
||||
injectCSS(win.webContents, path.join(__dirname, 'style.css'));
|
||||
injectCSS(win.webContents, style);
|
||||
|
||||
registerCallback((songInfo) => {
|
||||
const songTitle = songInfo.title;
|
||||
|
||||
Reference in New Issue
Block a user