+ Add sample electron project
This commit is contained in:
6
dist/index.html
vendored
Normal file
6
dist/index.html
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<html>
|
||||
<body>
|
||||
<h1>This is a title</h1>
|
||||
<p>This is normal text</p>
|
||||
</body>
|
||||
</html>
|
||||
11
dist/main.js
vendored
Normal file
11
dist/main.js
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
"use strict";
|
||||
exports.__esModule = true;
|
||||
var electron_1 = require("electron");
|
||||
var win = null;
|
||||
electron_1.app.on('ready', function () {
|
||||
win = new electron_1.BrowserWindow({
|
||||
height: 600,
|
||||
width: 800
|
||||
});
|
||||
win.loadFile('index.html');
|
||||
});
|
||||
Reference in New Issue
Block a user