Update Files
This commit is contained in:
18
lib/aura/Tests/Data/electron-append.js
Normal file
18
lib/aura/Tests/Data/electron-append.js
Normal file
@ -0,0 +1,18 @@
|
||||
electron.ipcMain.on('log-main', (event, type, text) => {
|
||||
switch (type) {
|
||||
case "log":
|
||||
console.log(text);
|
||||
break;
|
||||
case "info":
|
||||
console.info(text);
|
||||
break;
|
||||
case "warn":
|
||||
console.warn(text);
|
||||
break;
|
||||
case "error":
|
||||
console.error(text);
|
||||
break;
|
||||
default:
|
||||
throw "Unreachable";
|
||||
}
|
||||
});
|
Reference in New Issue
Block a user