Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <title>Interface Editor</title>
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.css" crossorigin="anonymous" />
- </head>
- <body>
- <h1>Interface Editor</h1>
- <script>
- const electron = require('electron');
- const {IpcRenderer , ipcMain} = electron;
- ipcMain.on('theme:change' , function()
- {
- $('body').css('background-color', 'red');
- console.log("wow");
- });
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement