mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-13 19:31:46 +00:00
QOL: Move source code under the src directory. (#1318)
This commit is contained in:
13
src/plugins/navigation/back.ts
Normal file
13
src/plugins/navigation/back.ts
Normal file
@ -0,0 +1,13 @@
|
||||
import { BrowserWindow } from 'electron';
|
||||
|
||||
import style from './style.css';
|
||||
|
||||
import { injectCSS } from '../utils';
|
||||
|
||||
export function handle(win: BrowserWindow) {
|
||||
injectCSS(win.webContents, style, () => {
|
||||
win.webContents.send('navigation-css-ready');
|
||||
});
|
||||
}
|
||||
|
||||
export default handle;
|
||||
Reference in New Issue
Block a user