Skip to content

Instantly share code, notes, and snippets.

@mtgto

mtgto/index.js Secret

Created January 9, 2020 15:25
Show Gist options
  • Save mtgto/2a60ed4ce2e280c7577412884cde166e to your computer and use it in GitHub Desktop.
Save mtgto/2a60ed4ce2e280c7577412884cde166e to your computer and use it in GitHub Desktop.
"use strict";
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
result["default"] = mod;
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
var electron_1 = __importStar(require("electron"));
var mainWindow;
electron_1.app.on("ready", function () {
mainWindow = new electron_1.default.BrowserWindow({
width: 800,
height: 600,
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment