mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-14 13:41:05 +00:00
Update app.js
This commit is contained in:
parent
688d4963a5
commit
ca2976f314
2
app.js
2
app.js
|
@ -513,7 +513,7 @@ function initializeConsole() {
|
||||||
|
|
||||||
function initializeWindow(name, args, w, h) {
|
function initializeWindow(name, args, w, h) {
|
||||||
if (typeof window === "undefined") {
|
if (typeof window === "undefined") {
|
||||||
console.error("This is not a window");
|
console.error("This is not a GUI application");
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
var app = require(name);
|
var app = require(name);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user