You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
331 B
HTML
20 lines
331 B
HTML
5 years ago
|
<html>
|
||
|
<head>
|
||
|
<title>CPGC</title>
|
||
|
</head>
|
||
|
<body>
|
||
|
Hello, world!
|
||
|
<p id="a"></p>
|
||
|
</body>
|
||
|
|
||
|
<script>
|
||
|
const electron = require('electron');
|
||
|
const ipc = electron.ipcRenderer;
|
||
|
|
||
|
ipc.on('send_username', function(event, args) {
|
||
|
console.log(args);
|
||
|
document.getElementById("a").innerHTML = args;
|
||
|
});
|
||
|
</script>
|
||
|
</html>
|