mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-13 03:11:46 +00:00
feat: migrate from rollup to electron-vite (#1364)
* feat: electron-vite PoC * fix: fix preload path * remove rollup deps and config * fix: debug mode * fix: build mode, asset path * fix: remove unused dependencies * feat: use `executeJavaScriptInIsolatedWorld` instead of `executeJavaScript` * feat: enable `minify` * fix(actions): update task name * fix: fix dev mode check * fix: remove unused variable
This commit is contained in:
@ -1,12 +1,8 @@
|
||||
import path from 'node:path';
|
||||
|
||||
import { getAssetsDirectoryLocation } from '../plugins/utils';
|
||||
|
||||
const iconPath = path.join(getAssetsDirectoryLocation(), 'youtube-music-tray.png');
|
||||
import youtubeMusicTrayIcon from '../../assets/youtube-music-tray.png?asset';
|
||||
|
||||
const promptOptions = {
|
||||
customStylesheet: 'dark',
|
||||
icon: iconPath,
|
||||
icon: youtubeMusicTrayIcon,
|
||||
};
|
||||
|
||||
export default () => promptOptions;
|
||||
|
||||
Reference in New Issue
Block a user