-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
executable file
·35 lines (31 loc) · 1007 Bytes
/
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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<title>Flixerr</title>
<link
href="./libs/materialdesignicons/css/materialdesignicons.min.css"
media="all"
rel="stylesheet"
type="text/css"
/>
<link type="text/css" rel="stylesheet" href="./assets/css/main.css" />
</head>
<body>
<div id="app"></div>
<script>
let { remote } = require('electron')
let isDeveloping = remote.getGlobal('dev')
process.env.UV_THREADPOOL_SIZE = 128
process.env.NODE_TLS_REJECT_UNAUTHORIZED = 0
process.env.NODE_ENV = 'production'
require('babel-polyfill')
if (isDeveloping) {
require('babel-register')
require('./assets/js/main')
} else {
require('./dist/js/main')
}
</script>
</body>
</html>