index.js 377 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
"use strict";
exports.__esModule = true;
var electron_1 = require("electron");
var win = null;
function createWindow() {
    win = new electron_1.BrowserWindow({ width: 500, height: 400 });
    win.setTitle('CSUBU Lecturers');
    win.loadFile('index.html');
    win.on('closed', function () { win = null; });
}
electron_1.app.on('ready', function () {
    createWindow();
});