mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-13 11:21:46 +00:00
fix prompt width
This commit is contained in:
5
menu.js
5
menu.js
@ -323,15 +323,14 @@ function setProxy(item, win) {
|
||||
},
|
||||
icon: iconPath,
|
||||
customStylesheet: "dark",
|
||||
width: 450,
|
||||
};
|
||||
//TODO: custom bar on prompt need testing on macOS
|
||||
if (!is.macOS()) {
|
||||
Object.assign(options, {
|
||||
frame: false,
|
||||
customScript: path.join(__dirname, "plugins", "in-app-menu", "prompt-custom-titlebar.js"),
|
||||
enableRemoteModule: true,
|
||||
height: 200,
|
||||
width: 450,
|
||||
enableRemoteModule: true,
|
||||
});
|
||||
}
|
||||
prompt(options, win)
|
||||
|
||||
Reference in New Issue
Block a user