/
index.html
43 lines (35 loc) · 1.05 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<!DOCTYPE html>
<html>
<head>
<base href="/">
<meta charset="utf-8">
<meta name="description" content="">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<title>nConnect</title>
<link href="//fonts.googleapis.com/css?family=Arimo:400,400italic,700,700italic" rel="stylesheet" type="text/css">
</head>
<body>
<div id="loading">
<i class="fa fa-spinner fa-pulse fa-3x fa-fw"></i>
</div>
<app></app>
<script>
// var fs = require(fs);
try {
if (require) {
var electron = require('electron') // http://electron.atom.io/docs/api
var path = require('path') // https://nodejs.org/api/path.html
var url = require('url')
var os = require('os') // https://nodejs.org/api/os.html
var cpus = os.cpus()
window.cpus = os.cpus()
// alert(JSON.stringify(cpus));
// alert(JSON.stringify(process.versions));;
}
}
catch(e) {
}
</script>
</body>
</html>