fix prompt width

This commit is contained in:
Araxeus
2021-05-05 03:48:07 +03:00
parent 834f8674a3
commit 6b147b098a
2 changed files with 5 additions and 6 deletions

View File

@ -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)