mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-13 19:31:46 +00:00
custom dark skin for prompt
This commit is contained in:
5
menu.js
5
menu.js
@ -314,14 +314,15 @@ const example = `Example: "socks5://127.0.0.1:9999"`;
|
||||
function setProxy(item) {
|
||||
prompt({
|
||||
title: 'Set Proxy',
|
||||
label: 'Enter Proxy Adress (or leave empty to disable)',
|
||||
label: 'Enter Proxy Address (leave empty to disable)',
|
||||
value: config.get("options.proxy") || example,
|
||||
inputAttrs: {
|
||||
type: 'text'
|
||||
},
|
||||
type: 'input',
|
||||
alwaysOnTop: true,
|
||||
icon: iconPath
|
||||
icon: iconPath,
|
||||
customStylesheet: path.join(__dirname, "darkPrompt.css"),
|
||||
})
|
||||
.then((input) => {
|
||||
if(input !== null && input !== example) {
|
||||
|
||||
Reference in New Issue
Block a user