Files
windows11/public/console.js
T
2022-02-02 12:59:29 +05:30

31 lines
757 B
JavaScript

console.log('%cWin11React is a project by blueedgetechno and ascended by andrewstech. If you wish to help out with this project, visit https://github.com/blueedgetechno/win11React', 'color: lightblue; font-size: x-large');
function removeWarning() {
document.body.dataset.force = true;
}
window.pythonRunner = new BrythonRunner({
stdout: {
write(content) {
window.pythonResult = content;
window.pythonErr = 0;
},
flush() {},
},
stderr: {
write(content) {
window.pythonResult = content;
window.pythonErr = 1;
},
flush() {},
},
stdin: {
async readline() {
var userInput = prompt();
console.log('Received StdIn: ' + userInput);
return userInput;
},
},
onInit() {}
});