mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-10 10:11:46 +00:00
fix(prompt-custom-titlebar): fix customScript is not function
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
// eslint-disable-next-line import/no-unresolved
|
||||
import { Titlebar, Color } from 'custom-electron-titlebar';
|
||||
|
||||
export default () => {
|
||||
const customTitlebarFunction = () => {
|
||||
new Titlebar({
|
||||
backgroundColor: Color.fromHex('#050505'),
|
||||
minimizable: false,
|
||||
@ -15,3 +15,7 @@ export default () => {
|
||||
mainStyle.border = 'unset';
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
module.exports = customTitlebarFunction;
|
||||
export default customTitlebarFunction;
|
||||
|
||||
Reference in New Issue
Block a user