Update Files

This commit is contained in:
2025-01-22 16:18:30 +01:00
parent ed4603cf95
commit a36294b518
16718 changed files with 2960346 additions and 0 deletions

View 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";
}
});

View File

@ -0,0 +1,20 @@
<!--
Custom index.html to prevent a wrong layout of test results due to the Kha canvas.
-->
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Aura Unit Tests</title>
</head>
<body style="margin: 0; padding: 0;">
<!--
We still need to include the canvas to prevent Kha errors, but it's
at size (0, 0).
-->
<canvas id="khanvas" width="0" height="0" tabindex="-1"></canvas>
<script src="kha.js"></script>
</body>
</html>