Add: custom CSS request

This commit is contained in:
Cutls 2019-08-31 00:10:01 +09:00
parent 18ce8cf2f4
commit 70bee4265b

View File

@ -51,6 +51,8 @@ onmessage = function (e) {
ipc.send("itunes", e.data[1]) ipc.send("itunes", e.data[1])
} else if (e.data[0] == "themeCSSRequest") { } else if (e.data[0] == "themeCSSRequest") {
ipc.send('theme-css-request', e.data[1]); ipc.send('theme-css-request', e.data[1]);
} else if (e.data[0] == "customCSSRequest") {
ipc.send('custom-css-request', e.data[1]);
} else if (e.data[0] == "downloadButton") { } else if (e.data[0] == "downloadButton") {
ipc.send('download-btn', e.data[1]); ipc.send('download-btn', e.data[1]);
} else if (e.data[0] == "nano") { } else if (e.data[0] == "nano") {